Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request voice-record inside the inappbrowser #969

Open
75341704 opened this issue Jul 31, 2022 · 1 comment
Open

Request voice-record inside the inappbrowser #969

75341704 opened this issue Jul 31, 2022 · 1 comment

Comments

@75341704
Copy link

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
Copy link
Author

75341704 commented Aug 9, 2022

https://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#runtime-permissions-cordova-android-500
The onPermissionRequest is overrided as follows
75341704@1431a4e
But the 'PermissionHelper.requestPermissions' failed to prompt the user.

Any idea wil be highly appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant