GET_ACCOUNTS permission while using GCM - Why is this needed?

前端 未结 6 1941
小鲜肉
小鲜肉 2020-12-07 20:50

I have an app, with Push notifications implemented.

I want to understand the reason why we need \"GET_ACCOUNTS\"(android.permission.GET_ACCOUNTS), while implementing

6条回答
  •  伪装坚强ぢ
    2020-12-07 21:11

    I don't think this is actually the case. I tested it on a freshly factory reset Gingerbread device with a new Gmail account and I could receive GCM messages just fine without that permission. So the documentation is WRONG.

提交回复
热议问题