Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

W/FlutterJNI(16445): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: PHONE_STATE_STREAM. Response ID: 34 #18

Open
SOG-web opened this issue Jul 15, 2023 · 1 comment

Comments

@SOG-web
Copy link

SOG-web commented Jul 15, 2023

Am using the [flutter_background_service](https://github.com/ekasetiawans/flutter_background_service) plugin

PhoneState.stream.listen((event) {
      if (event != null) {
        log(event.number.toString());
        service.invoke(
          'update',
          {
            "current_date": DateTime.now().toIso8601String(),
            "number": event.number,
          },
        );
      }
    });
@word-x
Copy link

word-x commented Aug 16, 2023

We got the same issue.
It only happend when we called Flutter method via MethodChannel and execute Accessibility action at the same time.


Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: channelFlutterSide. Response ID: 12


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants