I am implementing Push kit to my application, I have enabled the service from developer console and Huawei push SDK has been correctly integrated and I can see the app ID from agconnect-servicesjson to obtain the token. Which is 907135701:907135700
But however, when a Huawei mobile phone obtains the push token, the system crashes and the log is :
com.huawei.hms.common.ApiException: 907135700: get scope
com.huawei.hms.common.ApiException: 907135701: scope list empty
How can I solve this error?
Can you please check whether the debug and release versions of your app use different signature certificate? If they are using different certificate, that might be the reason.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With