Commit 09570c49 authored by scotthooker's avatar scotthooker
Browse files

#85 No notifications in android when the app is closed

Allow the plugin to know when the app is no longer in foreground so that it may receive push notifications
parent 23a130bb
Loading
Loading
Loading
Loading
+1 −0
Changes for src/android/com/plugin/gcm/PushPlugin.java: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -234,6 +234,7 @@ public class PushPlugin extends CordovaPlugin {
		GCMRegistrar.onDestroy(getApplicationContext());
		gWebView = null;
		gECB = null;
		gForeground = false;
		super.onDestroy();
	}
}