cordova-plugin-inappbrowser icon indicating copy to clipboard operation
cordova-plugin-inappbrowser copied to clipboard

Request voice-record inside the inappbrowser

Open 75341704 opened this issue 3 years ago • 1 comments

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

75341704 avatar Jul 31 '22 05:07 75341704

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.

75341704 avatar Aug 09 '22 07:08 75341704