plus_plugins
plus_plugins copied to clipboard
No implementation found for method listen on channel
startNetworkChecking() {
Connectivity().onConnectivityChanged.listen((ConnectivityResult result) {
Log.info('$Connectivity', 'ConnectivityResult -> $result');
_streamController.sink.add(result);
});
}
checkInternetConnection() async {
var result = await (Connectivity().checkConnectivity());
_streamController.sink.add(result);
}
======== Exception caught by services library ====================================================== The following MissingPluginException was thrown while activating platform stream on channel dev.fluttercommunity.plus/connectivity_status: MissingPluginException(No implementation found for method listen on channel dev.fluttercommunity.plus/connectivity_status)
When the exception was thrown, this was the stack:
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7)
#1 EventChannel.receiveBroadcastStream. (package:flutter/src/services/platform_channel.dart:516:9)
[GETX] Instance "GetMaterialController" has been created
[GETX] Instance "GetMaterialController" has been initialized
flutter: ^[[38;5;12m┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
flutter: ^[[38;5;12m│ 💡 Application: setting is unsubscribe<…>
flutter: ^[[38;5;12m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────<…>
[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: MissingPluginException(No implementation found for method check on channel dev.fluttercommunity.plus/connectivity)
#0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:175:7)
I'm also having the exact same issue...
we are having the same issue. Any solution?
I know this may be obvious but did you try stopping and running the app after adding the package?
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days
I'm having the same issue, but only when I try to generate golden tests
Seeing the same exact thing, when trying to use this with graphql_flutter
package, also when working with tests. @braginsm did you manage to find any workaround?
Anyone found a way to fix this?