Loading src/android/com/adobe/phonegap/push/GCMIntentService.java +1 −1 Changes for src/android/com/adobe/phonegap/push/GCMIntentService.java: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ public class GCMIntentService extends GCMBaseIntentService implements PushConsta Bundle extras = intent.getExtras(); if (extras != null) { // if we are in the foreground, just surface the payload, else post it to the statusbar if (PushPlugin.isInForeground()) { if (!FORCE_SHOW && PushPlugin.isInForeground()) { extras.putBoolean(FOREGROUND, true); PushPlugin.sendExtras(extras); } Loading src/android/com/adobe/phonegap/push/PushConstants.java +1 −0 Changes for src/android/com/adobe/phonegap/push/PushConstants.java: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -41,4 +41,5 @@ public interface PushConstants { public static final String COUNT = "count"; public static final String FROM = "from"; public static final String COLLAPSE_KEY = "collapse_key"; public static final String FORCE_SHOW = "forceShow"; } src/android/com/adobe/phonegap/push/PushPlugin.java +1 −0 Changes for src/android/com/adobe/phonegap/push/PushPlugin.java: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -80,6 +80,7 @@ public class PushPlugin extends CordovaPlugin implements PushConstants { editor.putBoolean(SOUND, jo.optBoolean(SOUND, true)); editor.putBoolean(VIBRATE, jo.optBoolean(VIBRATE, true)); editor.putBoolean(CLEAR_NOTIFICATIONS, jo.optBoolean(CLEAR_NOTIFICATIONS, true)); editor.putBoolean(FORCE_SHOW, jo.optBoolean(FORCE_SHOW, false)); editor.commit(); } Loading Loading
src/android/com/adobe/phonegap/push/GCMIntentService.java +1 −1 Changes for src/android/com/adobe/phonegap/push/GCMIntentService.java: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -88,7 +88,7 @@ public class GCMIntentService extends GCMBaseIntentService implements PushConsta Bundle extras = intent.getExtras(); if (extras != null) { // if we are in the foreground, just surface the payload, else post it to the statusbar if (PushPlugin.isInForeground()) { if (!FORCE_SHOW && PushPlugin.isInForeground()) { extras.putBoolean(FOREGROUND, true); PushPlugin.sendExtras(extras); } Loading
src/android/com/adobe/phonegap/push/PushConstants.java +1 −0 Changes for src/android/com/adobe/phonegap/push/PushConstants.java: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -41,4 +41,5 @@ public interface PushConstants { public static final String COUNT = "count"; public static final String FROM = "from"; public static final String COLLAPSE_KEY = "collapse_key"; public static final String FORCE_SHOW = "forceShow"; }
src/android/com/adobe/phonegap/push/PushPlugin.java +1 −0 Changes for src/android/com/adobe/phonegap/push/PushPlugin.java: 1 added line, 0 removed lines. Original line number Diff line number Diff line Loading @@ -80,6 +80,7 @@ public class PushPlugin extends CordovaPlugin implements PushConstants { editor.putBoolean(SOUND, jo.optBoolean(SOUND, true)); editor.putBoolean(VIBRATE, jo.optBoolean(VIBRATE, true)); editor.putBoolean(CLEAR_NOTIFICATIONS, jo.optBoolean(CLEAR_NOTIFICATIONS, true)); editor.putBoolean(FORCE_SHOW, jo.optBoolean(FORCE_SHOW, false)); editor.commit(); } Loading