Hi all;
my question is regarding android permissions. it seems like my app requires way more permissions than needed (see list in attached image)
my config.xml list is as follows:
-cordova-plugin-whitelist
-cordova-plugin-device
-cordova-plugin-vibration
-cordova-plugin-dialogs
-cordova-plugin-splashscreen
-cordova-plugin-statusbar
-phonegap-plugin-push
as you can see in the attached image, my app declares that it needs read/write call log, gps, voice recording, contacts access, etc but I dont need any of that.
why is this required from my app (built with PGB & cli 6). and how can I remove these...
thanks for your help!!!
my question is regarding android permissions. it seems like my app requires way more permissions than needed (see list in attached image)
my config.xml list is as follows:
-cordova-plugin-whitelist
-cordova-plugin-device
-cordova-plugin-vibration
-cordova-plugin-dialogs
-cordova-plugin-splashscreen
-cordova-plugin-statusbar
-phonegap-plugin-push
as you can see in the attached image, my app declares that it needs read/write call log, gps, voice recording, contacts access, etc but I dont need any of that.
why is this required from my app (built with PGB & cli 6). and how can I remove these...
thanks for your help!!!
- 186 Posts
- 5 Reply Likes
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
- 186 Posts
- 5 Reply Likes
thanks.
would this remove all permissions?
what If I wanted only GPS for example?
what should I do then?
thanks!
would this remove all permissions?
what If I wanted only GPS for example?
what should I do then?
thanks!
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Just include that preference and specify the plugins that you want
- 283 Posts
- 40 Reply Likes
Check the plugins section of your app on the phonegap build website, make sure it shows the same plugins you told us
- 186 Posts
- 5 Reply Likes
jcesarmobile
it shows the same...
i used to have a feature tag for network and file but removed it per PGB latest blog...
it shows the same...
i used to have a feature tag for network and file but removed it per PGB latest blog...
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@jcesarmobile As Petra suggested,
<preference name="permissions" value="none"/> will solved the issue for PGB. Thanks for lending a hand.- 186 Posts
- 5 Reply Likes
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Now, where is that permissions preference?
- 186 Posts
- 5 Reply Likes
hi petra, r u referring to your suggestion?
I haven't put it yet...
thanks
I haven't put it yet...
thanks
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
Yes, of course.
If you don't include that preference, PGB will add a set of default permissions.
If you don't include that preference, PGB will add a set of default permissions.
Related Categories
-
PhoneGap Framework
- 2926 Conversations
- 61 Followers
-
PhoneGap Build
- 15111 Conversations
- 275 Followers





