Phonegap plugin result when app is not active anymore
问题 I'm trying to edit the phonegap/cordova PushPlugin plugin for android in order to not create an status-bar Notification when app is not active but always doing some javascript work. I want to receive my GCM message an do some work on it with javascript at anytime. GCM message received by PushPlugin => javascript function called. I've no problem to make this working when my cordova app is active (ie in foreground or paused). But I can't use sendJavascript(...) when the app has been destroyed.