RaphaelWoude / capacitor-native-settings

Capacitor plugin to open native settings screens for android and iOS
MIT License
95 stars 30 forks source link

Android: Missing redirection to 'App Permissions' page #27

Closed yksolanki9 closed 2 years ago

yksolanki9 commented 2 years ago

In case the user denies camera permission, I want to redirect them directly to the App Permissions setting where they can manually give access. But, it seems that the plugin doesn't support it. The closest I came, is redirecting the user to the ApplicationDetails setting, then ask them to click on Permission and then provide the necessary permissions.

Now the issue with this is that, not all Android skins have the same flow. For example, on one of my android device, after redirecting to ApplicationDetails, I have to click on Privacy -> Permissions and then give the permissions.

Direct redirection to the App Permissions page would fix this and provide a better UX.

RaphaelWoude commented 2 years ago

From what I know is that you are not able to directly open the App Permissions screen programmatically on Android. You will always need to go to ApplicationDetails first.

yksolanki9 commented 2 years ago

My bad, it seems like this is an issue with android. You can close this issue. Thanks for the clarification!