-
Notifications
You must be signed in to change notification settings - Fork 92
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
how to run the actual code in the foreground service? #31
Comments
Can't find a way to create foreground service, i just created a notification,is someone now how to create it |
there is no description .... |
@acarkaan @yaodaibao any information on this? is there any other library that we can use or any native implementation? |
ı think that when u use foreground fore-service on an app ur tasks will complate on background mode too. so u can add your code to the app normally and everything is ok. |
@acarkaan I tried that but isn't working. I mean I started the foreground service and executed my code right after that. It wasnt working. |
Hi, to make it work you need to add the proper config in the AndroidManifest file: However i haven't tested it over a long period of time |
can you share the complete react-native code implementation?? |
No description provided.
The text was updated successfully, but these errors were encountered: