title: GCM notification received on device does not start the application
body: <p>I'm using <a href="https://github.com/kobakei/unity-gcm" rel="nofollow">https://github.com/kobakei/unity-gcm</a> for GCM notifications in Unity3D. I receive the messages on the device. When I tap on the notification nothing happens. I expect the application to start. This is the log:</p>
  
  <pre><code>V/GCMRegistrar( 8441): Setting the name of retry receiver class tocom.kskkbys.unitygcmplugin.UnityGCMBroadcastReceiver
  V/UnityGCMBroadcastReceiver( 8441): getGCMIntentServcieClassName
  V/GCMBroadcastReceiver( 8441): GCM IntentService class: com.kskkbys.unitygcmplugin.UnityGCMIntentService
  V/GCMBaseIntentService( 8441): Acquiring wakelock
  D/ConnectivityService(  845): handleInetConditionHoldEnd: net=0, condition=100, published condition=100
  V/GCMBaseIntentService( 8441): Intent service name: GCMIntentService-DynamicSenderIds-1
  D/STATUSBAR-NetworkController( 1051): onReceive() - CONNECTIVITY_ACTION, INET_CONDITION_ACTION
  V/UnityGCMIntentService( 8441): onMessage
  V/UnityGCMIntentService( 8441): ticker: ticker
  D/STATUSBAR-NetworkController( 1051): getUpdateDataNetType() - mDataNetType:15
  D/STATUSBAR-NetworkController( 1051): updateDataNetType()
  D/STATUSBAR-NetworkController( 1051): Nothing, mRoamingIconId = 0
  V/UnityGCMIntentService( 8441): foo: bar
  V/UnityGCMIntentService( 8441): from: xxxxx
  V/UnityGCMIntentService( 8441): content_title: New Friend Request
  V/UnityGCMIntentService( 8441): score: 123
  V/UnityGCMIntentService( 8441): is_first: true
  V/UnityGCMIntentService( 8441): content_text: test
  V/UnityGCMIntentService( 8441): collapse_key: do_not_collapse
  D/dalvikvm( 8441): Trying to load lib /data/app-lib/com.company.app-23/libmain.so 0x42587730
  D/dalvikvm( 8441): Added shared lib /data/app-lib/com.company.app-23/libmain.so 0x42587730
  W/dalvikvm( 8441): No implementation found for native Lcom/unity3d/player/UnityPlayer;.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  W/System.err( 8441): java.lang.UnsatisfiedLinkError: Native method not found: com.unity3d.player.UnityPlayer.UnitySendMessage:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
  W/System.err( 8441):    at com.unity3d.player.UnityPlayer.UnitySendMessage(Native Method)
  W/System.err( 8441):    at com.kskkbys.unitygcmplugin.Util.sendMessage(Util.java:23)
  W/System.err( 8441):    at com.kskkbys.unitygcmplugin.UnityGCMIntentService.onMessage(UnityGCMIntentService.java:50)
  W/System.err( 8441):    at com.google.android.gcm.GCMBaseIntentService.onHandleIntent(GCMBaseIntentService.java:223)
  W/System.err( 8441):    at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65)
  W/System.err( 8441):    at android.os.Handler.dispatchMessage(Handler.java:102)
  W/System.err( 8441):    at android.os.Looper.loop(Looper.java:136)
  W/System.err( 8441):    at android.os.HandlerThread.run(HandlerThread.java:61)
  V/UnityGCMNotificationManager( 8441): showNotification
  V/GCMBaseIntentService( 8441): Releasing wakelock
  W/ContextImpl(  845): 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.addNotification:674 com.android.server.NotificationManagerService$7.run:2157 android.os.Handler.handleCallback:733
  </code></pre>
  
  <p>and</p>
  
  <pre><code>W/ContextImpl(  845): 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 
  D/STATUSBAR-StatusBarManagerService(  845): sendNotification(3) - 1
  </code></pre>
  
  <p><strong>EDIT:</strong>
  AndroidManifest.xml:</p>
  
  <pre><code>&lt;!-- Android GCM Plugin --&gt;
  &lt;receiver android:name="com.kskkbys.unitygcmplugin.UnityGCMBroadcastReceiver" android:permission="com.google.android.c2dm.permission.SEND" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.google.android.c2dm.intent.RECEIVE" /&gt;
          &lt;action android:name="com.google.android.c2dm.intent.REGISTRATION" /&gt;
          &lt;category android:name="com.company.application" /&gt;
      &lt;/intent-filter&gt;
  &lt;/receiver&gt;
  &lt;service android:name="com.kskkbys.unitygcmplugin.UnityGCMIntentService" /&gt;
  &lt;!-- Android GCM Plugin --&gt;
  
  &lt;/application&gt;
  
  &lt;uses-sdk android:minSdkVersion="16" android:targetSdkVersion="19" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
  &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
  &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"    /&gt;
  
  
  &lt;!-- Android GCM Plugin --&gt;
  &lt;permission android:name="com.company.application.permission.C2D_MESSAGE" android:protectionLevel="signature" /&gt;
  &lt;uses-permission android:name="com.company.application.permission.C2D_MESSAGE" /&gt;
  &lt;uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" /&gt;
  &lt;uses-permission android:name="android.permission.INTERNET" /&gt; 
  &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
  &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
  &lt;uses-permission android:name="android.permission.VIBRATE" /&gt;
  &lt;!-- Android GCM Plugin --&gt;
  </code></pre>
  
  <p><strong>EDIT2:</strong>
  This is the error that comes up in logcat when I touch the notification icon and expect the app to start.</p>
  
  <pre><code> 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 
  </code></pre>