-
Notifications
You must be signed in to change notification settings - Fork 5
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
Context.startForegroundService() did not then call Service.startForeground #8
Comments
Hello @AppWerft! |
Any info here? Just had this error with a HUAWEI phone. But on a Pixel 4 it is working fine. Looking at the Android issue it looks like it has to do with initialization order of the service |
Hi @m1ga, |
It was mentioned in the linked ticket somewhere. But I didn't try it yet. I'll have a look at the module, too. |
This is the way! :-) |
@m1ga Could you please test this version? |
now my phones (Samsung A5 Android 8) and Pixel 4 (Android 10) stop with this error:
|
https://stackoverflow.com/a/49418249/5193915
not tested yet. Will check it at the weekend |
Thank you @m1ga ! Your help is greatly appreciated. |
Hi @m1ga! I managed to get it working on my Pixel with Android 10. |
it still crashes for me after 15 secs:
it will fire once for my current fence and it will show the
Edit: |
It is an Android issue! Checkout here.
The text was updated successfully, but these errors were encountered: