We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1b67b5a + dee301b commit 6c42a8dCopy full SHA for 6c42a8d
ParsePush/src/main/java/com/parse/ParsePushService.java
@@ -134,7 +134,7 @@ public IBinder onBind(Intent intent) {
134
protected void onPushNotificationReceived(String pushPayloadString) {
135
Log.i(TAG, "Push notification received. Payload: " + pushPayloadString);
136
try {
137
- if (!ParsePushUnityHelper.isApplicationPaused()) {
+ if (!ParsePushUnityHelper.isApplicationPaused() && pushPayloadString != null) {
138
UnityPlayer.UnitySendMessage("ParseInitializeBehaviour",
139
"OnPushNotificationReceived",
140
pushPayloadString);
0 commit comments