Page 1 of 1

Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 3:00 pm
by Pierre Gallaz

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.


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 3:02 pm
by Evgene Karachevtsev

Hello Pierre,

Please find our reply in the email.


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 3:07 pm
by Pierre Gallaz

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).


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 3:18 pm
by Evgene Karachevtsev

Pierre,

Please specify its name.


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 3:23 pm
by Pierre Gallaz

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


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 6:41 pm
by Pierre Gallaz

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.


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 6:48 pm
by Evgene Karachevtsev

Pierre,

Replied via email.


Android permissions are added to the APK during compilation

Posted: Thu Aug 25, 2016 10:17 pm
by VRW

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


Android permissions are added to the APK during compilation

Posted: Fri Aug 26, 2016 6:35 am
by Pierre Gallaz

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.


Android permissions are added to the APK during compilation

Posted: Fri Aug 26, 2016 5:27 pm
by VRW

Pierre,

Thank for the note. Will check the plugins.

Vince