Search code examples
androidhuawei-mobile-serviceshuawei-developers

Huawei Push Kit Error : 907135701: scope list empty


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?


Solution

  • 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.