Closed CodeGather closed 4 years ago
Set debuggingenabled: false,
Did you resolve it?
@pichillilorenzo yes
i have same error, it's not work when i add debuggingenabled: false in InAppWebViewOptions in android 8 api 26 have this problem , Android 10 is ok
I am also facing same issue.. Please help
I am also facing same issue.. Please help i fix this error use this
const message = "value"; if (window.flutter_inappwebview.callHandler) { window.flutter_inappwebview.callHandler('handlerName', message); } else { /// maybe message type error in flutter, convert to string is work window.flutter_inappwebview._callHandler('handlerName', setTimeout(function(){}), JSON.stringify([message])); }
@chuxia98 @pichillilorenzo @CodeGather Confirmed, Android 10 and iOS 13/14 is ok, android 7 api 24 also have this problem, So this is bug ?
Environment
Device information:
Description
Expected behavior:
Current behavior: Uncaught TypeError: window.flutter_inappwebview.callHandler is not a function, messageLevel: 3}
html
dart
Steps to reproduce
Images
Stacktrace/Logcat