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

Flutter JNI in Flutter background #7

Open
mhmd435 opened this issue Oct 6, 2024 · 2 comments
Open

Flutter JNI in Flutter background #7

mhmd435 opened this issue Oct 6, 2024 · 2 comments
Assignees
Labels

Comments

@mhmd435
Copy link

mhmd435 commented Oct 6, 2024

W/FlutterJNI(20048): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++. Could not send. Channel: step_count. Response ID: 202

im using this plugin with flutter_foreground_task to gather the user step in background when app is terminated
but there is an error when app open again

@mhmd435 mhmd435 added the help wanted Extra attention is needed label Oct 6, 2024
@Flucadetena
Copy link
Owner

Hi @mhmd435 I have not tested it in the background. Not sure it works. I'll look into it this week to see if I can make it work.

If you find a way and can contribute, it would be more than welcomed.

Are you trying in Android, IOS or both?

@Flucadetena Flucadetena added enhancement New feature or request blocked: user-response and removed help wanted Extra attention is needed labels Oct 7, 2024
@mhmd435
Copy link
Author

mhmd435 commented Oct 8, 2024

I used this package on both platforms
According to my research, it was for using singelton in method channel instance
i dont know btw

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

No branches or pull requests

2 participants