Marshmallow permission implementation

后端 未结 2 950
逝去的感伤
逝去的感伤 2020-12-06 04:53

I am trying to add Android 6.0 support in my Existing Android App. I have used SYNCADAPTER to sync data. its working fine till API 22. but in 23 (ANDROID 6.0) t

2条回答
  •  情歌与酒
    2020-12-06 05:27

    AUTHENTICATE_ACCOUNTS this permission no exist any more, as google project manager said.

    Issue 2592: Requesting AUTHENTICATE_ACCOUNTS permission prompts to: 'Allow app to perform an unknown action'

    We'll have to wait for a future preview revision to pursue this because the M revision 2 'key changes' section states: "Some accounts and identity permissions are moved to CONTACTS permissions group and others are removed or granted based on account type. In particular, android.permission.USE_CREDENTIALS, android.permission.MANAGE_ACCOUNTS, and android.permission.AUTHENTICATE_ACCOUNTS are ungrouped pending further changes in a later release." http://developer.android.com/preview/support.html

提交回复
热议问题