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.
1 parent 01842a1 commit dee301bCopy full SHA for dee301b
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