HMS: Getting error in push notification token with error code 907135003

Issue

I’m new to flutter, Unable to get the token from Huawei push notification in flutter.

I’m using below code to get data:

await Push.getToken("");

await initTokenStream();

Unable to get the token from huawei push notification in flutter. Getting error in push notification token with error code 907135003

Log

E/HMSSDK_HmsInstanceId( 5742): TokenTask failed, ErrorCode: 907135003 D/HMSLogger( 5742): singleEventMap -> {apiName=getToken, package=com.bghuawei.app, cpAppVersion=1.0.0, version=5.3.0.304, platform=Flutter, result=907135003, costTime=218, service=Cross-Platform, kit=Push, appid=105282649, model=OP4F2F, networkType=WIFI, callTime=1641433679625} I/HMSSDK_BaseHmsClient( 5742): Enter disconnect, Connection Status: 5

Can any one help me !! Thanks

Solution

Please refer to the URLs below for the error code description and solution. Please try to use the latest version of HMS Core per Shirley’s comment above as well.

https://developer.huawei.com/consumer/en/doc/development/HMSCore-References/error-code-0000001050255690

https://developer.huawei.com/consumer/en/doc/development/HMSCore-Guides/error-code-0000001050994177

enter image description here

Answered By – Zinna

Answer Checked By – Marilyn (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published.