Shikhar13 / codenameone

Automatically exported from code.google.com/p/codenameone
0 stars 0 forks source link

RFE: Developer control/override of permissions #242

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
A couple observations from the new code introspection for app permissions:

- An unmodified app created using the 'hello world' template, requests for full 
internet access and full read/write access to USB/SDCard storage on Android 
devices.  It should require no permissions at all.

- In one of my apps, I am using my VASE API for certain functions.  Because 
VASE has some GPS related utilities, the app is requesting access to the GPS on 
the physical device, even though the app doesn't access that code.  Of course, 
I could import the specific code of the library I require for this app, but 
moving forward, when 3rd party libraries are enabled, I believe this may become 
a problem.

Original issue reported on code.google.com by 1815...@coolman.ca on 4 Jul 2012 at 8:42

GoogleCodeExporter commented 9 years ago
For the second issue we will need a proper library mechanism which is something 
that carries many complexities (as well as this). 

Networking is a permission we will usually ask for by default, I will try to 
provide a way to disable it for completeness but I doubt it will be useful.

Original comment by shai.almog on 5 Jul 2012 at 4:50

GoogleCodeExporter commented 9 years ago
This somehow fell between the cracks when working on the library support.
I don't think we can fix that. The only way I see for solving this is to split 
up libraries such as Vase base on dependencies.

Original comment by shai.almog on 8 Apr 2013 at 11:21