The permissions you might want to use depend on what your app does. At this point, location and internet are the main ones. You can also use RECORD_AUDIO.
I THINK the permission is called READ_PHONE_STATE which seems to be set by Corona by default. When a Corona app is installed, this permission is displayed. I would like to turn this off. [import]uid: 5712 topic_id: 1892 reply_id: 6342[/import]
According to your link, this permission was set automatically in Pre 1.6. In 1.6 and up you have to declare it specifically. [import]uid: 5712 topic_id: 1892 reply_id: 6380[/import]
Using build 484, when I install my little tic tac toe app on my phone it says the app wants “full internet access” - which it actually does NOT. (It also wants VIBRATE which I see is expected and fine, although not actually used.)
I tried changing the build.settings to have:
androidPermissions =
{
},
but that made no difference - the app still wants “full internet access” and VIBRATE.
Does anyone know if this is a known, expected behavior? And if so, why? Or, at least, how to turn it off?
I don’t want or need internet access in this app and it makes it look mighty suspicious on install - I wouldn’t install a little game that asks for it since it might be some sort of malware.
EDIT: Using build 319 (as recommended by kam187) it no longer asks for internet permission on install - must be a bug introduced in build 484.
Thanks,
Matt [import]uid: 39515 topic_id: 1892 reply_id: 32729[/import]
Generally only opengl 1.1 and vibrate are in by default on 319. Maybe 484 adds internet too. Its because they have a generic template based on whats linked in. I guess some library which uses internet is always linked in in 484.
The only way to remove these is by editing the manifest and resigning. I documented it in my tutorial:
Thanks for this tutorial, but it works (in my experience) only for builds with older Corona-SDK builds.
I found out my program is running without problems on my Samsung Galaxy Tab. But a friends Galaxy Tab (Wifi only!) is crashing with a lot of Corona-Apps - exact with them they use READ_PHONE_STATE permission.
If I build with 2011.505 I don’t have the READ_PHONE_STATE permission - the app is running, later builds are bad from this point of view…
I would prefer the control over all permissions in the build settings. [import]uid: 70114 topic_id: 1892 reply_id: 49808[/import]
Better solution is Permission Denied App there is also a Permission app from xda. You need to be root.
[import]uid: 86417 topic_id: 1892 reply_id: 67259[/import]