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