我正在嘗試爲IBM提供的混合應用程序實施推送通知示例,但我在下面看到註冊錯誤。 GCM API KEY和PROJECT ID在application-descriptor.XML中正確設置。工作燈推送通知示例
我在我的Nexus 5(Android 4.2.2)中部署了使用分發證書籤名的APK,但它還沒有工作。
有沒有人能幫助我?我正在使用Worklight Studio 6.2
謝謝。
GCMRegistrar(29967): resetting backoff for com.PushNotifications GCMRegistrar(29967): Registering app com.PushNotifications of senders testpushgcmproject GCM(1431): GCM config loaded GCMBroadcastReceiver(29967): onReceive: com.google.android.c2dm.intent.REGISTRATION GCMBroadcastReceiver(29967): GCM IntentService class: com.PushNotifications.GCMIntentService GCMBaseIntentService(29967): Acquiring wakelock GCMBaseIntentService(29967): Intent service name: GCMIntentService-DynamicSenderIds-2 GCMBaseIntentService(29967): handleRegistration: registrationId = null, error = INVALID_SENDER, unregistered = null GCMBaseIntentService(29967): Registration error: INVALID_SENDER GCMBaseIntentService(29967): Releasing wakelock