07-01-2009 02:33 PM
I have a few questions about permissions and prompts. Most importantly this has to do with making a data connection and using GPS
1. Prompts & Allow - Remove Notice?: When installing my app (signed) on various devices, some devices prompt the user about making a data connection and some do not (the connection is just made). I check the permissions, and on both devices they are data connection is set to prompt. Why would one device just make a connection and the other requires a prompt? NOTE: both devices are on the same carrier (verision) and and are not restricted by BES.
2. Premission Dialog in Recent Build: In the recent build the user is promted about allowing a data request. In previous version builds this pompt never occured (even though both builds make a data connection that might require a prompt). For the life of me I can't tell what I might have changes that resulted in pompts now occuring. Is there anything I should check in the build/project/files so these prompts wont appear any longer?
3. Set Permissions On Install?: Is there any way to enforce permissions (say to allow) on install of the app? I know I can do invokePermissionsRequest but that will then occur during when running the app. Ideally I'd like to get permissions settled without user involvement or during install.
Some facts to note:
Thanks in advance.
07-01-2009 04:14 PM
Unfortunately, the only way to set permissions from your application is by using invokePermissionsRequest as you mentioned.
As for the prompt, it could be that the default setting is set to allow on one device and prompt on the other. Also check if the OS version is the same. I did got different behavior for different OS versions.