unity-gcm icon indicating copy to clipboard operation
unity-gcm copied to clipboard

notification does not start the application

Open alienhaxor opened this issue 10 years ago • 4 comments

http://stackoverflow.com/questions/28052802/gcm-notification-received-on-device-does-not-start-the-application

This is the error I get in logcat:

Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1505 com.android.server.StatusBarManagerService.sendNotification:985 com.android.server.StatusBarManagerService.removeNotification:710 com.android.server.NotificationManagerService.cancelNotificationLocked:2469 com.android.server.NotificationManagerService.access$5100:162

alienhaxor avatar Jan 21 '15 17:01 alienhaxor

com.android.server? sendNotification?

Are you trying to send a notification from the device?

LeshM avatar Jan 21 '15 18:01 LeshM

The notification is sent from a 3rd party server through GCM.

alienhaxor avatar Jan 22 '15 09:01 alienhaxor

Of course it's supposed to be sent from a server. But the logcat looks like the android device is the one sending it Oo

LeshM avatar Jan 22 '15 09:01 LeshM

I got it working now. The logcat errors in question didn't have anything to do with this issue. If anybody else is trying to solve this issue, follow Leshm's advice here: https://github.com/kobakei/unity-gcm/issues/1

alienhaxor avatar Jan 22 '15 10:01 alienhaxor