Add runtime microphone permission request for WebRTC calls
The RECORD_AUDIO permission was declared in the manifest but never requested at runtime, causing WebRTC to fail on Android 6+. Now requests microphone permission on app startup before initializing the WebView. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
name: twp_softphone
|
||||
description: TWP Softphone - WebView client for Twilio WordPress Plugin
|
||||
publish_to: 'none'
|
||||
version: 2.0.0+6
|
||||
version: 2.0.1+7
|
||||
|
||||
environment:
|
||||
sdk: ^3.5.0
|
||||
@@ -15,6 +15,7 @@ dependencies:
|
||||
flutter_local_notifications: ^17.0.0
|
||||
webview_flutter: ^4.10.0
|
||||
webview_flutter_android: ^4.3.0
|
||||
permission_handler: ^11.3.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user