Open shenlanchenwei opened 3 years ago
I have same question.
I have same question.
Android obfuscation program causes this problem, closing it can solve this problem
Thank you ! @shenlanchenwei Turn off obfuscation or add the code "- keep class com.fluent webview Plugin. {*;}" in the obfuscation file, this problem is solved.
The namespace is not "com.fluent webview Plugin", it should be "-keep class com.flutter_webviewplugin.* { ; }" ^^
Issue occurs on: Android Plugin version:4.0
There is no postMessage method in release mode
There is a postMessage method in debug mode