GET_ACCOUNTS permission while using GCM - Why is this needed?

前端 未结 6 1942
小鲜肉
小鲜肉 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条回答
  •  旧时难觅i
    2020-12-07 20:54

    GET_ACCOUNT is to verify if user synced Google account in mobile, and generate the key value for each user(each Google account). This is required if the device is running a version lower than Android 4.0.4.

提交回复
热议问题