Marshmallow permission implementation

后端 未结 2 949
逝去的感伤
逝去的感伤 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:25

    There is no longer need AUTHENTICATE_ACCOUNTS on Android 6.0.

    you can use android:maxSdkVersion="22" on your uses-permission element to stop requesting it as of Android 6.0.

    As mentioned in comment by CommonsWare Sir and this blog helped to understand more on this issue.

提交回复
热议问题