Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows 8 - Request camera permission after it's denied

I'm writing an app that needs to use the camera. The first time you do this, it asks the user for permission to use the camera.

If they click "Block" is there anyway through the application to re-request that permission? Or do they have to uninstall and reinstall the app?

like image 578
Nick Avatar asked Apr 02 '13 16:04

Nick


1 Answers

According to the guidelines, your app should tell them how to turn the capability back on and not force the permission window to show.

Your app should tell the user that the capability is turned off, and that they can enable the capability by using the app's settings.

"Your is currently turned off. To change your setting, open the settings charm and tap permissions. Then to start using again."

And from the additional guideline list:

Don't programmatically try to launch the Permissions page in the Settings charm

So simply display a message explaining how to re-enable the permission if they want to use that feature. The user won't have to uninstall and reinstall the app to change its permissions.

like image 55
keyboardP Avatar answered Oct 15 '22 11:10

keyboardP