0
我尝试使用4.1.0.GA sdk与Appcelerator Studio 4.3.3一起使用ti.cloudpush模块获取设备令牌。无法使用ti.cloudpush钛金模块获取设备令牌?
我创建了带有服务器密钥的Google API项目,并使用GCM API密钥和GCM发件人ID在我的appcelerator帐户中配置了ArrowDB。
在tiapp.xml文件的行下面设置。
<property name="acs-oauth-secret-development" type="string">xxxxxxx</property>
<property name="acs-oauth-key-development" type="string">xxxxxxx</property>
<property name="acs-api-key-development" type="string">xxxxxxx</property>
<property name="acs-push-type-development" type="string">gcm</property>
<property name="acs-push-type-production" type="string">gcm</property>
<property name="acs-push-type" type="string">gcm</property>
但我得到的消息如下..
[WARN] : W/com.appcelerator.aps.CCPushService: Getting GCM SenderId failed. No response area in returned JSON. Will try again in 5 seconds.
[WARN] : W/com.appcelerator.aps.CCPushService: Device Token is null.
所以,请让我知道如果我错过了什么配置cloudpush。
谢谢你......它的工作。我之前已经这样做了,但之后我更改了我的GCM API密钥并开始工作。 :) –