-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
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)
#1 checkInternetConnection (package:configuration/network/network.dart:17:16)
flutter: WalletManager 286996137 current wallet state WalletState.noWallet