Appcelerator Studio 4.3.3 で 4.1.0.GA sdk を使って Titan の 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 用に構成するものを見逃した場合はお知らせください。