GCM不同的发件人ID与mismatchsender ID错误 [英] GCM different sender id with mismatchsender id error
问题描述
我用两个不同的应用两种不同者编号。当我发送消息的第一个应用到第二个应用是成功的,但是当我第二次发送到应用程序第一次我得到:
{\"multicast_id\":8546528660791862014,\"success\":0,\"failure\":1,\"canonical_ids\":0,\"results\":[{\"error\":\"MismatchSenderId\"}]}
块引用>解决方案我用同样的发件人ID为两个应用它们也有不同的包名。不需要创建不同的发件人ID为不同application.Also使用相同的API密钥服务器端
I used two different sender ids with two different applications. When I send message first app to second app it is successful, but when I send second app to first I get :
{"multicast_id":8546528660791862014,"success":0,"failure":1,"canonical_ids":0,"results":[{"error":"MismatchSenderId"}]}
解决方案I have used same sender id for both two application they have also different package name. Not required to create different sender id for different application.Also used same api key for server side
这篇关于GCM不同的发件人ID与mismatchsender ID错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!