LeshM
LeshM
Do you have an updated package?
I found out that the gcm plugin is setting a specific unity activity as the pending intent of the notification. As soon as I added the activity to my AndroidManifest.xml...
I dug into the java code :)
Here: // Intent Intent intent = new Intent(context, UnityPlayerProxyActivity.class); PendingIntent contentIntent = PendingIntent.getActivity(context, REQUEST_CODE_UNITY_ACTIVITY, intent, PendingIntent.FLAG_UPDATE_CURRENT); https://github.com/kobakei/unity-gcm/blob/master/source/UnityGcmPlugin/src/com/kskkbys/unitygcmplugin/UnityGCMNotificationManager.java
Glad I could help ^_^
You should try http://OneSignal.com
Are you testing it on a Samsung device? Because I see "SmartFaceService" in your log, I encountered an issue where the "smart" service didn't have permissions and caused my action...
com.android.server? sendNotification? Are you trying to send a notification from the device?
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
The error says it can't find method / function 'UnitySendMessage' in com.unity3d.player.UnityPlayer. Did you define the Unity activities in the AndroidManifest.xml?