Relaunch Cordova app if not running#222
Conversation
|
If application is killed and notification is received, this code causes application to start in foreground. This pull request solves this: |
Application was not starting if killed using Android back button.
Always start application in background
|
@soumak77 isn‘t this PR legit. Just read the code but looks important? |
|
Is this for Android only? I desperately need this for both iOS and Android. Opening push messages for killed apps has to be important for others as well? Or am I the only one still facing this problem? |
|
iOS is working fine for me, I also did not have any issues on Android but I’ve seen a lot of people complaining so this PR has to be reviewed. |
|
Did you test this on android? I did not. |
|
@hirbod I have not. I will wait to release a new version until I get confirmation the plugin is working as desired when installed from github. |
|
Sounds like this plugin needs a better test regime. |
|
At least it has a travis ci :D |
|
@remisture agreed, currently the test suite only builds a basic app to verify the build isn't broken, but doesn't actually test any functionality |
Added description to IChannelOptions
If no notification callback, the MainActivity of the app is launched. With this the app gets the data notification even if swiped out from recent apps list, or phone is rebooted.