cordova-plugin-inappbrowser
cordova-plugin-inappbrowser copied to clipboard
Request voice-record inside the inappbrowser
Feature Request
Android: request voice-record (onRequestPermissionResult) (Some message such as 'default UserNotAllow...' was given ) IOS: If the NSMicrophoneUsageDescription is not added in the Info.plist, the voice-record inside the inappbrowser will make the app stuck.
Motivation Behind Feature
The page in the inappbrowser can communiate with users by the voice-record.
Feature Description
For example, the chatbox of the custom service is loaded in the inappbrowser. The user can hold the button and contact us by the voice record.
Alternatives or Workarounds
https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#runtime-permissions-cordova-android-500 The onPermissionRequest is overrided as follows https://github.com/75341704/cordova-plugin-themeablebrowser/commit/1431a4e0f804944473408525d0d57b9840c76b7e But the 'PermissionHelper.requestPermissions' failed to prompt the user.
Any idea wil be highly appreciated.