diff --git a/src/android/com/plugin/gcm/GCMIntentService.java b/src/android/com/plugin/gcm/GCMIntentService.java index 9ee811ee..cd95a621 100644 --- a/src/android/com/plugin/gcm/GCMIntentService.java +++ b/src/android/com/plugin/gcm/GCMIntentService.java @@ -72,7 +72,7 @@ protected void onMessage(Context context, Intent intent) { extras.putBoolean("foreground", false); String message = extras.getString("message"); - if (message === null) { + if (message == null) { // Providers like Parse always send a 'data' as root object, so "Parse" that try { JSONObject object_example = new JSONObject(extras.getString("data"));