wiseminds / mono-flutter

A Plugin implementing android and iOS SDKs for Connect, a Mono-hosted authorisation flow that works seamlessly across browsers and devices to make gaining access to your user's accounts as easy as possible.
MIT License
11 stars 18 forks source link

Type 'JavaScriptMessage' not found. #14

Closed titanium-cmd closed 1 year ago

titanium-cmd commented 1 year ago

I got this error after installing and implementing the package. I have tried re-installing but error still persist. Can you please look into it. Thanks. Below are the error messages.

` : Error: Type 'JavaScriptMessage' not found. mono_web_view.dart:186 void _monoJavascriptChannel(JavaScriptMessage message) { ^^^^^^^^^^^^^^^^^ : Error: Couldn't find constructor 'WebViewController'. mono_web_view.dart:72 _webViewController = WebViewController() ^^^^^^^^^^^^^^^^^ : Error: Couldn't find constructor 'NavigationDelegate'. mono_web_view.dart:76 ..setNavigationDelegate(NavigationDelegate( ^^^^^^^^^^^^^^^^^^

: Error: The getter 'JavaScriptMode' isn't defined for the class 'MonoWebViewState'. mono_web_view.dart:73

: Error: 'JavaScriptMessage' isn't a type. mono_web_view.dart:186 void _monoJavascriptChannel(JavaScriptMessage message) { ^^^^^^^^^^^^^^^^^ `