Search code examples
androidcordovaionic-frameworkapp-storecordova-plugins

Android Cordova device.uuid does it require permission?


Hi I am trying to find out if using

cordova-plugin-device device.uuid requires a special permission in the android manifest.

I checked the website and couldn't see anything for Android https://cordova.apache.org/docs/en/latest/reference/cordova-plugin-device/index.html

Everything works fine I am just wondering in my app store does this require a special permission for me to use the Phone UUID.


Solution

  • No, Cordova-plugin-device does not require any permission.

    cordova automatically adds required permissions in all the platforms when you add a plugin, so you don't need to manually edit android manifest file.

    if you want to know which plugin requires which permissions have a look at

    <project directory>/plugins/<plugin directory>/plugin.xml
    

    if plugin uses any permission you will be able to see it inside <platform name="android"> with <uses-permission android:name="android.permission.SomePermission" />