speech-recognition icon indicating copy to clipboard operation
speech-recognition copied to clipboard

Add method to open app settings to change permissions

Open DiogoParrinha opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. If the user has no granted permissions, we may want to prompt the user to go to the app settings (see https://github.com/capacitor-community/barcode-scanner).

This is useful in situations where the user has denied permissions and now clicks the "microphone" button for example and we want to tell the user that he needs to change the permissions.

This should be fairly easy to do. See these examples:

  • iOS: https://github.com/capacitor-community/barcode-scanner/blob/main/ios/Plugin/Plugin.swift#L434
  • Android: https://github.com/capacitor-community/barcode-scanner/blob/main/android/src/main/java/com/dutchconcepts/capacitor/barcodescanner/BarcodeScanner.java#L483

Describe the solution you'd like Method to open app settings.

Describe alternatives you've considered Right now we need to tell the user to manually go there.

Additional context N/A

DiogoParrinha avatar Feb 06 '22 12:02 DiogoParrinha