katzer / cordova-plugin-background-mode

Keep app running in background
Apache License 2.0
1.38k stars 1k forks source link

Plugin is not working in Android 10 Device #559

Closed balaji-subramaniyam closed 2 years ago

balaji-subramaniyam commented 2 years ago

Hi team, I just developing the app in that i needs the local notification to be enabled when the app in background. I just use this plugin but it doesn't worked for me. Moreover i just used the cordova.plugins.backgroundMode.enable(); method, but when i minimize and open the app it just restarts from first.

Does anyone help me to solve this problem?

GhoshWorld commented 2 years ago

Use this plugin ::

https://bitbucket.org/TheBosZ/cordova-plugin-run-in-background/src/master/

balaji-subramaniyam commented 2 years ago

Hi @GhoshWorld, Thanks for your great help now it works fine.

YSoni89 commented 1 year ago

@GhoshWorld , Can I use this plugin in ionic app as well?