Android permission VS diagnostic ionic native plugin?

Hello, I am novice, I want to know what is the difference between Android permission and diagnostic, and which plugin to use in an Ionic 3 app. thanks (sorry for my English).

I would like to know. Anyone has an idea?

I’m still playing with each plugin, but if I understand correctly, the Android permission plugin enables an Ionic app to access all Android permissions (as listed here: https://developer.android.com/reference/android/Manifest.permission.html), whereas the Diagnostic plugin only covers a subset of those permissions.

Thus if you are only targeting Android or need a permission such as Battery Statistics, then you will need to use the Android permission plugin. For more generic permissions such as location, the Diagnostic plugin (or even a few of the geolocation plugins) will suffice for both Android and iOS.

1 Like