-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Android 9 don't work #493
Comments
This plugin doesn't update anymore. https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/ this fork works on android 9. |
What is the change compared to this version? |
This one works for me https://www.npmjs.com/package/cordova-plugin-background-mode-fixed |
On both IOS and Android? |
Only on Android, I only use it for a simple timer app and didn't test it for more than a few minutes |
Could be interesting if you could test it running 24 hours |
I think it is also related to what device you are using. |
I tried running it for 24 hours, it crashed after about 6. I'm using a Huawei phone, so that might be the reason |
It seems to be webview that is the problem. I have had an android native application running in the background for 3+ days now. But when starting the backgroundservice from a webview I ndver have seen it running more than 6-8 hours |
So the Plugin is Buggy. |
Ok but this new plugin are compatible whith phonegap? |
I am using the plugin https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/ and it has the same problems. It is working fine for some hours, then it stops |
@JohannesPertl @ThorvaldAagaard it should work properly if this was used in your tests:
|
HI! i' have a phonegap application and for android-targetSdkVersion 27 works well.
For android-targetSdkVersion 28 crash with background plugin. I put permissions in my config.xlm and dosen't work. Any someone have a solution?
config.xlm Head:
`
The text was updated successfully, but these errors were encountered: