Tizen プッシュ メッセージ サービスを使用して通知を送信してみます。
このエラーが発生します
statusCode : 3052
StatusMsg : "error of application authentication failed - header: APPID, regId: 0000000000000000"
理由がわかりません。ドキュメントでこのエラーを見つけることもできません。
このエラーは、RegId が Tizen 開発者デバイス (OS バージョン 2.1) によって生成された場合にのみ発生します。エミュレーターで問題なく動作します。
クライアント側では、「PushClient」の例に基づくネイティブ アプリケーションを使用しました。
リクエスト詳細はこちら
URL :
https://apnortheast.push.samsungosp.com:8088/spp/pns/api/push
Request Header :
Content-Type: application/json
Content-Length: 302
appID: APPID
appSecret: APPSECRET
Request Body :
{"regID":["04REGID"],"requestID":"REQUESTID","message":"badgeOption=INCREASE&badgeNumber=1&action=ALERT&alertMessage=1","appData":"{\"title\":\"\",\"description\":\"test\"}"}
Response :
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
Content-Length: 162
Connection: keep-alive
{"results":[{"regID":"","requestID":"","statusCode":3052,"statusMsg":"error of application authentication failed - header: APPID, regId: 0000000000000000"}]}
何か案は ?