Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 522
Alize Dronna Avatar asked Jan 25 '23 21:01

Alize Dronna


1 Answers

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.

like image 66
Ibrahim R Serpici Avatar answered Feb 13 '23 00:02

Ibrahim R Serpici