问题描述
我试图通过Google云消息传递实现推送。我完成了,但该设备未出现在测试实施中。我的appkey是开发。
我尝试使用xtify的示例,但我更改了示例的MainActivity中的键,XTIFY_APP_KEY,PROJECT_ID,但我不知道如何从此应用发送推送。
我启用通知。
谢谢!
您可以执行以下几项操作:
让我知道您是否需要任何帮助。
I'm trying to implement push with Google Cloud Messaging. I make all the steps of http://developer.xtify.com/display/sdk/Getting+Started+with+Google+Cloud+Messaging but the device doesn't appear in Test Implementation. My appkey is Development.I try with the example of xtify but I change the keys in the MainActivity of the example, XTIFY_APP_KEY, PROJECT_ID but I don't know how to send a push from this app. I enable notification. What must I do to do?
Thank you!
Here are a couple things you can do:
- Double check that your PROJECT_ID is valid.
- Make sure you enabled GCM in google API console.
- Make sure you copied the Google API key to the application you created in Xtify console.
- Implement Xtify Notifier to get a callback when an error occurs in Xtify SDK.
Let me know if you need any more help.
这篇关于GCM与xtify。不注册设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!