JavascriptChannel in Normal in debug mode, not working in release mode
shenlanchenwei opened this issue · 4 comments
shenlanchenwei commented
hacjy commented
I have same question.
shenlanchenwei commented
I have same question.
Android obfuscation program causes this problem, closing it can solve this problem
hacjy commented
Thank you ! @shenlanchenwei
Turn off obfuscation or add the code "- keep class com.fluent_ webview_ Plugin. * * {*;}" in the obfuscation file, this problem is solved.
shenlanchenwei commented
The namespace is not "com.fluent_ webview_ Plugin", it should be "-keep class com.flutter_webview_plugin.** { *; }"
^_^