cordova-plugin-background-mode
cordova-plugin-background-mode copied to clipboard
is it possible to bring app to foreground when another app is already running in foreground?
I need my app to come to foreground over other apps like whatsapp or Skype. Is there any way i can do that? I tried moveToForeground() but id doesn't brings up the app if another app is running
Hello, did you receive a solution for this, I have the same problem with the API
I have facing this problem too. I didn't find solution with this plugin, but I use cordova-bring-to-front plugin to show app from background. And use this plugin to enable background mode.
All works fine but only on android. For IOS it is not possible to to move app to foreground and I use cordova-plugin-local-notifications
cordova-bring-to-front, not works on ionic3, there any other solution?
@tuliogoiania I don't know what you mean by "not works". Don't you think it's a bit vague?
Anyway, try this fork https://github.com/markeeftb/cordova-bring-to-front. It adds a package.json
file (missing from the original code) and Cordova 7 requires it to install the plugin. hth
@paolodina Thanks a lot i was trying something like this since one week ,nothing worked and your solution worked like charm....
Hi everyone. how can make this for ios, possible or not ? What plugin do you recommend ? and Android works successfully but ios what solution is there??