Skip to content

No implementation found for method listen on channel  #860

Description

@smew-tech
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    HacktoberfestIssues taking part in HacktoberfestStalebugSomething isn't workingconnectivity_plusConnectivity Plusmissing infoNot enough info or not following the issue template

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions