" Error Domain = com.google.iid Code = 501"同时以gcm注册ios devicetoken [英] "Error Domain=com.google.iid Code=501" while registering ios devicetoken in gcm
问题描述
GLInstanceID |无法在缓存中找到令牌Error Domain = com.google.iid Code = -25300操作无法完成(com.google.iid错误-25300。)。
$ b $ 找到缓存中的令牌Error Domain = com.google.iid Code = -25300 经常被跟踪,无论是在接收到google令牌成功还是失败时,我都认为这不是真正的错误。 b
$ b
我开始在一台设备上收到错误 Error Domain = com.google.iid Code = 501
,无论我重试了多少次调用 tokenWithAuthorizedEntity:scope:options:handler:
它总是返回501.我尝试删除应用程序,我尝试重新启动设备,但没有运气,我注意到相同的代码作为最后的手段,我重置了设备上的所有数据和设置(出厂重置),这为我解决了问题。
GLInstanceID | Unable to find token in cache Error Domain=com.google.iid Code=-25300 "The operation couldn’t be completed. (com.google.iid error -25300.).
Please get me out of this.
The error log message GLInstanceID | Unable to find token in cache Error Domain=com.google.iid Code=-25300
is traced often, both when receiving google token succeeds or fails. I assume this is not an actual error.
I started receiving the error Error Domain=com.google.iid Code=501
on one device. No matter how many times I retried the call to tokenWithAuthorizedEntity:scope:options:handler:
it always returned 501. I tried deleting the app, I tried restarting the device with no luck. I noticed that the same code ran fine on other devices. As a final resort I reset all data and settings on the device (factory reset) and this fixed the problem for me.
这篇关于" Error Domain = com.google.iid Code = 501"同时以gcm注册ios devicetoken的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!