-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
华为获取pushtoken报错 #63
Comments
提供一下,错误堆栈 |
getRegisterId这个方法
getRegisterId这个方法放在子线程中就OK了 |
getRegisterId 是Override 方法,现在是看到华为和荣耀的文档中明确提出需要在一个新线程中调用getToken |
这样实现就没问题了 |
我也是这个样改了,荣耀只提供了 aar,Permission name PROCESS_PUSH_MSG is not unique |
荣耀只能单独集成 |
奇怪,2.3.9 好用了,不用单独放在独立线程里了。 |
hms get token failed com.huawei.hms.common.ApiException: 907122050: operation in MAIN thread prohibited https://developer.huawei.com/consumer/cn/doc/development/HMSCore-References-V5/error-code-0000001050255690-V5
The text was updated successfully, but these errors were encountered: