I have used the system notification plugin from the github(https://github.com/saileshmittal/phonegap-system-notification-plugin) for android phonegap.I have used this code in my
I made an Android application with PhoneGap and when I press the home button, my application stays in background (with my last test it stays more than 1 hour). But when I launch other App the Android OS kills my application.
To enable this behaviour you need to add the android permission:
to your manifest
and you also need to add:
to your config.xml
in folder res/xml
I hope this post can you help you :)