Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Android permissions are added to the APK during compilation

Hello,

*** When I open androidmanifest.xml in appery.io's source, I see this:

uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/uses-permission android:name="android.permission.INTERNET"/uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS"/

These are the right permissions. I am happy.

*** But If I export to APK, it asks for more permissions when installing, permissions that are unacceptable for security-conscious users and not useful for the app. I am sad.

*** I checked by exporting to Android Studio and opening androidmanifest-xml, these lines are indeed added at the end of the file:

uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/
uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/uses-permission android:name="android.permission.RECORD_AUDIO"/uses-permission android:name="android.permission.READ_PHONE_STATE"/

So 5 extra permissions are added.

*** Android permissions selected are only:

access_network_state
internet
modify_audio_settings

*** Cordova plugins checked are only:

Media
File
Device Orientation
Splashscreen

There is absolutely no good reason for "RECORD AUDIO" or "ACCESS LOCATION" to appear...

Please help! I am not used to android studio so I would prefer for the APK exportation from within appery.io to work well in this situation.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Android permissions are added to the APK during compilation

Hello Pierre,

Please find our reply in the email.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Android permissions are added to the APK during compilation

And I shared my app with your staff if it helps! I would like to be able to release both android and iOS updates at the same time (The iOS is already submitted).

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Android permissions are added to the APK during compilation

Pierre,

Please specify its name.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Android permissions are added to the APK during compilation

name: lesmeditations, I also sent a private mail through support with further details.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Android permissions are added to the APK during compilation

Thanks for you help through support.

The issue was indeed still with the Cordova plugins.

I still have one question, though. I need the Cordova audio plugin for PLAYBACK ONLY. Is there a way to disable the permission for RECORDING?

My users will find it strange that an app that only plays content asks for recording permissons at startup.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

Android permissions are added to the APK during compilation

Pierre,

Replied via email.

VRW
Posts: 0
Joined: Thu Aug 25, 2016 10:17 pm

Android permissions are added to the APK during compilation

Same issue here. Need to remove 13 new permissions added after library update.

Pierre Gallaz
Posts: 0
Joined: Wed May 20, 2015 11:52 am

Android permissions are added to the APK during compilation

Vincent, have a look at the Cordova plugins that you are using in the app settings, and see if you can remove some of them.

VRW
Posts: 0
Joined: Thu Aug 25, 2016 10:17 pm

Android permissions are added to the APK during compilation

Pierre,

Thank for the note. Will check the plugins.

Vince

Return to “Issues”