Hi,
I am trying to send push notification from cloudscript like this:
server.SendPushNotification({"Recipient" : args.invitedPlayerId, "Message": "Player " + newInvite.inviterNickname + " invited you to play multiplayer.", "Subject": "Multiplayer invitation"});
It used to work before, but now it just keeps crashing the game.
Here is the log from the receiving phone:
09-11 14:09:08.314: I/PlayFabPushMessage(31001): google.sent_time 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.Long 09-11 14:09:08.314: I/PlayFabPushMessage(31001): google.message_id 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.String 09-11 14:09:08.314: I/PlayFabPushMessage(31001): 0:1505131748347968%38935490f9fd7ecd 09-11 14:09:08.314: I/PlayFabPushMessage(31001): default 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.String 09-11 14:09:08.314: I/PlayFabPushMessage(31001): pepan invited you to play multiplayer. 09-11 14:09:08.332: D/SamsungAlarmManager(3646): setInexact Intent (T:2/F:0/AC:false) 20170911T143911 - CU:10018/CP:4576 09-11 14:09:08.340: I/PlayFabUAP(31001): Could not parse to JSONObject 09-11 14:09:08.341: I/PlayFabUAP(31001): Could not parse to JSONArray 09-11 14:09:08.341: I/PlayFabUAP(31001): Message Recieved: pepan invited you to play multiplayer. 09-11 14:09:08.344: I/PlayFabGCM(31001): Schedule Type: None 09-11 14:09:08.355: D/SamsungAlarmManager(3646): setExact Intent (T:2/F:0/AC:false) 20170909T214257 - CU:10262/CP:31001 09-11 14:09:09.001: D/SamsungAlarmManager(3646): Expired : 4 09-11 14:09:09.002: I/SamsungAlarmManager(3646): setLocked to kernel - T:2 / 20170911T140909, SetElapsed=145572091, nowELAPSED=145571742 09-11 14:09:09.023: V/SamsungAlarmManager(3646): Sending to uid : 10069 action=com.google.android.apps.sidekick.REFRESH alarm=Alarm{5839f18 type 0 when 1505131749000 com.google.android.googlequicksearchbox} 09-11 14:09:09.049: I/System.out(31001): (HTTPLog)-Static: isSBSettingEnabled false 09-11 14:09:09.049: I/System.out(31001): (HTTPLog)-Static: isSBSettingEnabled false 09-11 14:09:09.269: W/SharedBatteryStatusUpdater(20216): Failed to publish battery status: Status{statusCode=TIMEOUT, resolution=null} 09-11 14:09:09.312: D/MusicLifecycle(20216): com.google.android.music.wear.WearDataTransferConnectionService generated event: Service destroyed 09-11 14:09:09.350: D/SamsungAlarmManager(3646): Expired : 4 09-11 14:09:09.351: I/SamsungAlarmManager(3646): setLocked to kernel - T:2 / 20170911T140917, SetElapsed=145579877, nowELAPSED=145572092 09-11 14:09:09.352: V/SamsungAlarmManager(3646): Sending to uid : 10262 action=null alarm=Alarm{8143d71 type 2 when 0 com.clonearmies.elecube} 09-11 14:09:09.408: E/Parcel(3646): Class not found when unmarshalling: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): java.lang.ClassNotFoundException: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.classForName(Native Method) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.forName(Class.java:400) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readParcelableCreator(Parcel.java:2517) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readParcelable(Parcel.java:2471) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readValue(Parcel.java:2374) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readArrayMapInternal(Parcel.java:2727) 09-11 14:09:09.408: E/Parcel(3646): at android.os.BaseBundle.unparcel(BaseBundle.java:269) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Bundle.putAll(Bundle.java:226) 09-11 14:09:09.408: E/Parcel(3646): at android.content.Intent.fillIn(Intent.java:8691) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:293) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:251) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendWithResult(PendingIntentRecord.java:244) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.ActivityManagerService.sendIntentSender(ActivityManagerService.java:9449) 09-11 14:09:09.408: E/Parcel(3646): at android.app.PendingIntent.send(PendingIntent.java:857) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService$DeliveryTracker.deliverLocked(AlarmManagerService.java:3641) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService.deliverAlarmsLocked(AlarmManagerService.java:3044) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:3175) 09-11 14:09:09.408: E/Parcel(3646): Caused by: java.lang.ClassNotFoundException: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.classForName(Native Method) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.BootClassLoader.findClass(ClassLoader.java:1346) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 09-11 14:09:09.408: E/Parcel(3646): ... 17 more 09-11 14:09:09.408: E/Parcel(3646): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available 09-11 14:09:09.409: W/Bundle(3646): Failed to parse Bundle, but defusing quietly 09-11 14:09:09.409: W/Bundle(3646): android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readParcelableCreator(Parcel.java:2545) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readParcelable(Parcel.java:2471) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readValue(Parcel.java:2374) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readArrayMapInternal(Parcel.java:2727) 09-11 14:09:09.409: W/Bundle(3646): at android.os.BaseBundle.unparcel(BaseBundle.java:269) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Bundle.putAll(Bundle.java:226) 09-11 14:09:09.409: W/Bundle(3646): at android.content.Intent.fillIn(Intent.java:8691) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:293) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:251) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendWithResult(PendingIntentRecord.java:244) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.ActivityManagerService.sendIntentSender(ActivityManagerService.java:9449) 09-11 14:09:09.409: W/Bundle(3646): at android.app.PendingIntent.send(PendingIntent.java:857) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService$DeliveryTracker.deliverLocked(AlarmManagerService.java:3641) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService.deliverAlarmsLocked(AlarmManagerService.java:3044) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:3175) 09-11 14:09:09.417: D/CompatibilityInfo(3646): mCompatibilityFlags - 0 09-11 14:09:09.418: D/CompatibilityInfo(3646): applicationDensity - 640 09-11 14:09:09.418: D/CompatibilityInfo(3646): applicationScale - 1.0 09-11 14:09:09.419: I/PlayFabGCM(31001): OnRecieve Notification Publisher Sending Notification.. 09-11 14:09:09.429: D/AndroidRuntime(31001): Shutting down VM 09-11 14:09:09.443: E/AndroidRuntime(31001): FATAL EXCEPTION: main 09-11 14:09:09.443: E/AndroidRuntime(31001): Process: com.clonearmies.elecube, PID: 31001 09-11 14:09:09.443: E/AndroidRuntime(31001): java.lang.Error: FATAL EXCEPTION [main] 09-11 14:09:09.443: E/AndroidRuntime(31001): Unity version : 5.6.2f1 09-11 14:09:09.443: E/AndroidRuntime(31001): Device model : samsung SM-G925F 09-11 14:09:09.443: E/AndroidRuntime(31001): Device fingerprint: samsung/zeroltexx/zerolte:7.0/NRD90M/G925FXXU5EQH6:user/release-keys 09-11 14:09:09.443: E/AndroidRuntime(31001): Caused by: java.lang.RuntimeException: Unable to start receiver com.playfab.unityplugin.GCM.NotificationPublisher: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.playfab.unityplugin.GCM.PlayFabNotificationPackage.SetDeliveryDate(java.util.Date)' on a null object reference 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.handleReceiver(ActivityThread.java:3316) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.-wrap20(ActivityThread.java) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1715) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.os.Handler.dispatchMessage(Handler.java:102) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.os.Looper.loop(Looper.java:154) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.main(ActivityThread.java:6682) 09-11 14:09:09.443: E/AndroidRuntime(31001): at java.lang.reflect.Method.invoke(Native Method) 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 09-11 14:09:09.443: E/AndroidRuntime(31001): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.playfab.unityplugin.GCM.PlayFabNotificationPackage.SetDeliveryDate(java.util.Date)' on a null object reference 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.playfab.unityplugin.GCM.NotificationPublisher.onReceive(NotificationPublisher.java:24) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.handleReceiver(ActivityThread.java:3309)
I have trying adding this receiver to androidManifest:
<receiver android:name="com.playfab.unityplugin.GCM.NotificationPublisher" android:enabled="true" android:exported="false" />
And also tried to move the icons to Plugins/Android/res/drawable but nothing helps :/
,Hi,
I am trying to send push notifications from cloudscript like this:
server.SendPushNotification({"Recipient" : args.invitedPlayerId, "Message": "Player " + newInvite.inviterNickname + " invited you to play multiplayer.", "Subject": "Multiplayer invitation"});¨
It used to work before, but now it just keeps crashing the game.
Any idea where the problem could be?
Here is the log from receiving phone:
09-11 14:09:08.314: I/PlayFabPushMessage(31001): google.sent_time 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.Long 09-11 14:09:08.314: I/PlayFabPushMessage(31001): google.message_id 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.String 09-11 14:09:08.314: I/PlayFabPushMessage(31001): 0:1505131748347968%38935490f9fd7ecd 09-11 14:09:08.314: I/PlayFabPushMessage(31001): default 09-11 14:09:08.314: I/PlayFabPushMessage(31001): class java.lang.String 09-11 14:09:08.314: I/PlayFabPushMessage(31001): pepan invited you to play multiplayer. 09-11 14:09:08.332: D/SamsungAlarmManager(3646): setInexact Intent (T:2/F:0/AC:false) 20170911T143911 - CU:10018/CP:4576 09-11 14:09:08.340: I/PlayFabUAP(31001): Could not parse to JSONObject 09-11 14:09:08.341: I/PlayFabUAP(31001): Could not parse to JSONArray 09-11 14:09:08.341: I/PlayFabUAP(31001): Message Recieved: pepan invited you to play multiplayer. 09-11 14:09:08.344: I/PlayFabGCM(31001): Schedule Type: None 09-11 14:09:08.355: D/SamsungAlarmManager(3646): setExact Intent (T:2/F:0/AC:false) 20170909T214257 - CU:10262/CP:31001 09-11 14:09:09.001: D/SamsungAlarmManager(3646): Expired : 4 09-11 14:09:09.002: I/SamsungAlarmManager(3646): setLocked to kernel - T:2 / 20170911T140909, SetElapsed=145572091, nowELAPSED=145571742 09-11 14:09:09.023: V/SamsungAlarmManager(3646): Sending to uid : 10069 action=com.google.android.apps.sidekick.REFRESH alarm=Alarm{5839f18 type 0 when 1505131749000 com.google.android.googlequicksearchbox} 09-11 14:09:09.049: I/System.out(31001): (HTTPLog)-Static: isSBSettingEnabled false 09-11 14:09:09.049: I/System.out(31001): (HTTPLog)-Static: isSBSettingEnabled false 09-11 14:09:09.269: W/SharedBatteryStatusUpdater(20216): Failed to publish battery status: Status{statusCode=TIMEOUT, resolution=null} 09-11 14:09:09.312: D/MusicLifecycle(20216): com.google.android.music.wear.WearDataTransferConnectionService generated event: Service destroyed 09-11 14:09:09.350: D/SamsungAlarmManager(3646): Expired : 4 09-11 14:09:09.351: I/SamsungAlarmManager(3646): setLocked to kernel - T:2 / 20170911T140917, SetElapsed=145579877, nowELAPSED=145572092 09-11 14:09:09.352: V/SamsungAlarmManager(3646): Sending to uid : 10262 action=null alarm=Alarm{8143d71 type 2 when 0 com.clonearmies.elecube} 09-11 14:09:09.408: E/Parcel(3646): Class not found when unmarshalling: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): java.lang.ClassNotFoundException: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.classForName(Native Method) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.forName(Class.java:400) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readParcelableCreator(Parcel.java:2517) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readParcelable(Parcel.java:2471) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readValue(Parcel.java:2374) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Parcel.readArrayMapInternal(Parcel.java:2727) 09-11 14:09:09.408: E/Parcel(3646): at android.os.BaseBundle.unparcel(BaseBundle.java:269) 09-11 14:09:09.408: E/Parcel(3646): at android.os.Bundle.putAll(Bundle.java:226) 09-11 14:09:09.408: E/Parcel(3646): at android.content.Intent.fillIn(Intent.java:8691) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:293) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:251) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.PendingIntentRecord.sendWithResult(PendingIntentRecord.java:244) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.am.ActivityManagerService.sendIntentSender(ActivityManagerService.java:9449) 09-11 14:09:09.408: E/Parcel(3646): at android.app.PendingIntent.send(PendingIntent.java:857) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService$DeliveryTracker.deliverLocked(AlarmManagerService.java:3641) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService.deliverAlarmsLocked(AlarmManagerService.java:3044) 09-11 14:09:09.408: E/Parcel(3646): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:3175) 09-11 14:09:09.408: E/Parcel(3646): Caused by: java.lang.ClassNotFoundException: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.408: E/Parcel(3646): at java.lang.Class.classForName(Native Method) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.BootClassLoader.findClass(ClassLoader.java:1346) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.BootClassLoader.loadClass(ClassLoader.java:1406) 09-11 14:09:09.408: E/Parcel(3646): at java.lang.ClassLoader.loadClass(ClassLoader.java:312) 09-11 14:09:09.408: E/Parcel(3646): ... 17 more 09-11 14:09:09.408: E/Parcel(3646): Caused by: java.lang.NoClassDefFoundError: Class not found using the boot class loader; no stack trace available 09-11 14:09:09.409: W/Bundle(3646): Failed to parse Bundle, but defusing quietly 09-11 14:09:09.409: W/Bundle(3646): android.os.BadParcelableException: ClassNotFoundException when unmarshalling: com.playfab.unityplugin.GCM.PlayFabNotificationPackage 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readParcelableCreator(Parcel.java:2545) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readParcelable(Parcel.java:2471) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readValue(Parcel.java:2374) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Parcel.readArrayMapInternal(Parcel.java:2727) 09-11 14:09:09.409: W/Bundle(3646): at android.os.BaseBundle.unparcel(BaseBundle.java:269) 09-11 14:09:09.409: W/Bundle(3646): at android.os.Bundle.putAll(Bundle.java:226) 09-11 14:09:09.409: W/Bundle(3646): at android.content.Intent.fillIn(Intent.java:8691) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:293) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendInner(PendingIntentRecord.java:251) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.PendingIntentRecord.sendWithResult(PendingIntentRecord.java:244) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.am.ActivityManagerService.sendIntentSender(ActivityManagerService.java:9449) 09-11 14:09:09.409: W/Bundle(3646): at android.app.PendingIntent.send(PendingIntent.java:857) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService$DeliveryTracker.deliverLocked(AlarmManagerService.java:3641) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService.deliverAlarmsLocked(AlarmManagerService.java:3044) 09-11 14:09:09.409: W/Bundle(3646): at com.android.server.AlarmManagerService$AlarmThread.run(AlarmManagerService.java:3175) 09-11 14:09:09.417: D/CompatibilityInfo(3646): mCompatibilityFlags - 0 09-11 14:09:09.418: D/CompatibilityInfo(3646): applicationDensity - 640 09-11 14:09:09.418: D/CompatibilityInfo(3646): applicationScale - 1.0 09-11 14:09:09.419: I/PlayFabGCM(31001): OnRecieve Notification Publisher Sending Notification.. 09-11 14:09:09.429: D/AndroidRuntime(31001): Shutting down VM 09-11 14:09:09.443: E/AndroidRuntime(31001): FATAL EXCEPTION: main 09-11 14:09:09.443: E/AndroidRuntime(31001): Process: com.clonearmies.elecube, PID: 31001 09-11 14:09:09.443: E/AndroidRuntime(31001): java.lang.Error: FATAL EXCEPTION [main] 09-11 14:09:09.443: E/AndroidRuntime(31001): Unity version : 5.6.2f1 09-11 14:09:09.443: E/AndroidRuntime(31001): Device model : samsung SM-G925F 09-11 14:09:09.443: E/AndroidRuntime(31001): Device fingerprint: samsung/zeroltexx/zerolte:7.0/NRD90M/G925FXXU5EQH6:user/release-keys 09-11 14:09:09.443: E/AndroidRuntime(31001): Caused by: java.lang.RuntimeException: Unable to start receiver com.playfab.unityplugin.GCM.NotificationPublisher: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.playfab.unityplugin.GCM.PlayFabNotificationPackage.SetDeliveryDate(java.util.Date)' on a null object reference 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.handleReceiver(ActivityThread.java:3316) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.-wrap20(ActivityThread.java) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1715) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.os.Handler.dispatchMessage(Handler.java:102) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.os.Looper.loop(Looper.java:154) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.main(ActivityThread.java:6682) 09-11 14:09:09.443: E/AndroidRuntime(31001): at java.lang.reflect.Method.invoke(Native Method) 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1520) 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1410) 09-11 14:09:09.443: E/AndroidRuntime(31001): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.playfab.unityplugin.GCM.PlayFabNotificationPackage.SetDeliveryDate(java.util.Date)' on a null object reference 09-11 14:09:09.443: E/AndroidRuntime(31001): at com.playfab.unityplugin.GCM.NotificationPublisher.onReceive(NotificationPublisher.java:24) 09-11 14:09:09.443: E/AndroidRuntime(31001): at android.app.ActivityThread.handleReceiver(ActivityThread.java:3309)
Answer by 1807605288 · Sep 12, 2017 at 02:08 AM
There's a whole lot here, but none of it is definitive.
It's possible that perhaps push notifications have been disabled at the OS level by the user of this device.
https://kb.arlo.com/000039087/How-do-I-enable-or-disable-push-notifications-on-my-Android-device
This possibility comes from the log snippet: Unable to start receiver com.playfab.unityplugin.GCM.NotificationPublisher
This one:
Attempt to invoke virtual method 'void com.playfab.unityplugin.GCM.PlayFabNotificationPackage.SetDeliveryDate
Makes me think maybe you've altered the jar files in your project, possibly in order to include multiple java plugins in the same project.
In short, I don't know for certain, but start with the OS level push settings, and perhaps revert your client code back to the state where it was working, and carefully step through your changes to see what caused the problem.
How to scheduled push notification ? 1 Answer
ailed to import package with error: Couldn't decompress package 1 Answer
There is no way of unregistering users from push notifications 1 Answer
Confirmation that PlayFab Push for Android is Asynchronous? 1 Answer
How can I use Push Notifications 1 Answer