Android Studio is adding me android.permission.USE_CREDENTIALS on my manifest

13.6k Views Asked by At

When i compile my app for release, a new permission called USE_CREDENTIALS is being added to my manifest.

<uses-permission android:name="android.permission.USE_CREDENTIALS"/>

Why? What is this permission? i can't find any official info about it on android developers guide!

Thanks

1

There are 1 best solutions below

3
On BEST ANSWER

Why?

You are probably getting it via some library that you are using.

What is this permission?

It is used, prior to Android 6.0, for using things like AccountManager.

i can't find any official info about it on android developers guide!

That is because Google got rid of this permission in Android 6.0, and the documentation at http://developer.android.com does a really poor job of dealing with removed API elements.