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,
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: