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

Background exec #4

Open
louia opened this issue May 27, 2020 · 2 comments
Open

Background exec #4

louia opened this issue May 27, 2020 · 2 comments

Comments

@louia
Copy link

louia commented May 27, 2020

Is there any solution to have a background execution for have mercure + notification + background subscription to mercure topic ?

@wallforfry
Copy link
Owner

Hi @louia !
It looks like the only way to implement a background service is to use native code for iOS and Android.

This plugin allow you wake up your app periodically but it doesn't match with Mercure usage.

According to Flutter documentation, it's possible to use a native service to wake up a small part of flutter app.
I think the best way is to create a PR that implements for both OSs a mercure listener and that pass received data in background to the woke up app

@louia
Copy link
Author

louia commented May 27, 2020

Yes i think is a good idea. If I have the time i will do that but if anyone can start or do. (Oh un français !)

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