Loading plugin.xml +1 −1 Changes for plugin.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.phonegap.plugins.PushPlugin" version="2.0.4"> version="2.0.5"> <name>PushPlugin</name> <author>Bob Easterday</author> Loading src/android/com/plugin/gcm/PushPlugin.java +3 −1 Changes for src/android/com/plugin/gcm/PushPlugin.java: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public class PushPlugin extends CordovaPlugin { private static String gECB; private static String gSenderID; private static Bundle gCachedExtras = null; private static boolean gForeground = true; private static boolean gForeground = false; /** * Gets the application context from cordova's main activity. Loading Loading @@ -234,6 +234,8 @@ public class PushPlugin extends CordovaPlugin { GCMRegistrar.onDestroy(getApplicationContext()); gWebView = null; gECB = null; gForeground = false; super.onDestroy(); } } Loading
plugin.xml +1 −1 Changes for plugin.xml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -2,7 +2,7 @@ <plugin xmlns="http://www.phonegap.com/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android" id="com.phonegap.plugins.PushPlugin" version="2.0.4"> version="2.0.5"> <name>PushPlugin</name> <author>Bob Easterday</author> Loading
src/android/com/plugin/gcm/PushPlugin.java +3 −1 Changes for src/android/com/plugin/gcm/PushPlugin.java: 3 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public class PushPlugin extends CordovaPlugin { private static String gECB; private static String gSenderID; private static Bundle gCachedExtras = null; private static boolean gForeground = true; private static boolean gForeground = false; /** * Gets the application context from cordova's main activity. Loading Loading @@ -234,6 +234,8 @@ public class PushPlugin extends CordovaPlugin { GCMRegistrar.onDestroy(getApplicationContext()); gWebView = null; gECB = null; gForeground = false; super.onDestroy(); } }