My published app doesn't ask any permissions.. Why?


#1

Hello, I finished my app completely in Creator and uploaded to Google Market but there is a problem. While it is installing, there is no permission ask. So my save process doesn’t work. If I give to write folder permission from app manager, it works.

How can I make it ask for writing permission while installing?

Thanks


#2

You will need to look at the config.xml file that Cordova uses to compile the apk. Make sure the plugins are included. Those entries should be enough to set the proper flags.


#3

It’s good to keep in mind that any Android Lollipop or Nougat will ask for permissions when they’re needed instead of when the app is installed.


#4

Yes, but how to make it ask permission upon installation itself


#5

Try this plugin: https://www.npmjs.com/package/cordova-plugin-android-permissions