when i try to get token for Huawei push kit, i logcat show errors like "no right", "service not available", "error code: 907122036". other apis working fine like map, timezone,
error code: 907122036
This error code indicates that Push Kit is not enabled.
please refer to Getting Started to check whether the related service is enabled for the app.
Basically, this error will come when you have forgotten to enable Push Kit from AGC.
For details, please refer to Getting Started to check whether the related service is enabled for the app.
https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/commonerror-0000001059816656
Before testing, you can also check for below preparations:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.