Add wake lock and device keepalive for reliable mobile calls
Prevents screen sleep during calls and auto-reconnects the Twilio device after app backgrounding. JS handles Screen Wake Lock API and 30s keepalive polling; Flutter coordinates via WakelockPlus and synthetic visibilitychange events on app resume. Co-Authored-By: Claude Opus 4.6 (1M context) <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.1+7
|
||||
version: 2.0.2+8
|
||||
|
||||
environment:
|
||||
sdk: ^3.5.0
|
||||
@@ -16,6 +16,7 @@ dependencies:
|
||||
webview_flutter: ^4.10.0
|
||||
webview_flutter_android: ^4.3.0
|
||||
permission_handler: ^11.3.0
|
||||
wakelock_plus: ^1.2.8
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
Reference in New Issue
Block a user