解析服务器Unity - FCM" MismatchSenderId"

时间:2016-12-20 10:50:23

标签: android unity3d firebase firebase-cloud-messaging parse-server

我尝试使用自托管解析服务器通过Firebase云消息传递向Unity客户端发送推送通知。到目前为止,我成功连接到Firebase,但当我尝试发送通知时(通过云代码或Parse仪表板),我收到以下消息:

verbose: sending push to 1 installations
verb parse-server-push-adapter GCM sending to 1 device
verb parse-server-push-adapter GCM GCM Response: {
verb parse-server-push-adapter GCM     "multicast_id": 7055734461886567000,
verb parse-server-push-adapter GCM     "success": 0,
verb parse-server-push-adapter GCM     "failure": 1,
verb parse-server-push-adapter GCM     "canonical_ids": 0,
verb parse-server-push-adapter GCM     "results": [
verb parse-server-push-adapter GCM         {
verb parse-server-push-adapter GCM             "error": "MismatchSenderId"
verb parse-server-push-adapter GCM         }
verb parse-server-push-adapter GCM     ]
verb parse-server-push-adapter GCM }
verbose: sent push! 0 success, 1 failures

这似乎是一个明确的消息,但当我检查Firebase控制台时,sender_id似乎是正确的。我还检查了Parse Dashboard中的Installation collection,但GCMSenderId字段与服务器配置中的相同。我还在AndroidManifest.xml中添加了gcm_sender_id,但这并没有解决任何问题。

我真的很困惑,希望有人可以帮我解决这个错误。

0 个答案:

没有答案