cordova-plugin-local-notifications
cordova-plugin-local-notifications copied to clipboard
automatic app launch
can i launch application from background as soon as i receive notification?
Your app cannot make itself the foreground app on iOS, and likewise probably cannot become foreground on Android either. I am pretty certain the OS vendors believe it would be a bad user experience if another app launched while the user was doing something else. Imagine you're composing an amazing Insta and another app took over your screen... or if your phone woke itself up from sleep with a random app running.
On Android your app can do things in the background when it receives a notification.
I have used this plugin instead of developing one for my own, taken from forked https://github.com/markeeftb/cordova-bring-to-front Keep in mind to install from Cordova CLI, visual studio plugin installer might create problem.
How is it possible to use cordova bring to front with this plugin to bring app to front when receiving a notification ???