Googleaccountcredential Name Is Null Despite Calling Setselectedaccountname (android 6.0)
I've created an endpoint using a secured backend and have been using it since March on an app I'm building (source docs here). I recently installed the latest version to my Androi
Solution 1:
Yes with Android 6.0 Marshmallow, you will now need to request permissions at run time https://developer.android.com/training/permissions/index.html
In order to get those credentials you need the GET_ACCOUNTS permission in the CONTACTS group
https://developer.android.com/guide/topics/security/permissions.html#normal-dangerous
You will have to request it in your activity/fragment and handle any UX pertaining to your app.
Post a Comment for "Googleaccountcredential Name Is Null Despite Calling Setselectedaccountname (android 6.0)"