Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80876

Android no longer ask permissions when installing app

$
0
0

I am running into the problem that on newer android devices when you install the app it no longer ask for permissions. Since Android 6.0, the Android permissions checking mechanism has been changed. In the past, the permissions were granted by users when they decide to install the app. Now, the permissions should be granted by a user when he/she is using the app. Because of this you no longer can use the camera, GPS etc. unless the user goes into its setting and add those permissions. Not so user friendly. Now it seems that there is a sollution for phonegap but I am unable to get it to work. This plugin seems to solve the issue: https://github.com/NeoLSN/cordova-plugin-android-permission but I have trouble with the config.xml to use this plugin. I must be doing something wrong here. Anybody a config.xml example for this plugin? Or anobody already solved this issue when building mobile apps?

Regards,

Ronald

[EDIT]

Found the sollution. Edit the config.xml and add the following line to it. Would be nice if this one could be added to the Mendix defined phonegap.zip.

<gap:plugin name="cordova-plugin-android-permissions" source="npm" version="0.10.0" />

 


Viewing all articles
Browse latest Browse all 80876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>