Vangelis Afantenos

Results 8 comments of Vangelis Afantenos

I have removed this plugin from my app. It works normally now without crashes. Currently I have problems with some Huawei and Xiaomi devices. I'm using only the background plugin.

Can you try this version? https://github.com/Mforcen/cordova-plugin-background-mode

@riccardocostantini No, but my app is working fine.. did you declare the service type on xml? https://developer.android.com/about/versions/14/changes/fgs-types-required

@riccardocostantini Yes, on Android 10+ you must declare the foreground service type. For example GPS, Media etc.. Yes, all my timers are working fine on background (Using foreground service)

You need to declare the foreground service for the plugin within the element. You'll find a line like this: `` However, you must declare it like this: ` ` The...

@riccardocostantini Sorry for the confusion earlier, it seems there was an issue with the code formatting in the GitHub editor. Could you please take another look?

@riccardocostantini Yes, plugin also added this line . make a code search on plugins directory for this line and update it there. Then don’t add it on xml and let...

@riccardocostantini Sorry, can’t help. It works here. I guess you need to check further your Android app configuration.