hms-flutter-plugin
hms-flutter-plugin copied to clipboard
huawei_push GetToken returned null
Description When call get Token in huawei_push returned null in devices MobileModel: HUAWEI e.x mobileBrand : JNY-LX1
Expected behavior return my token generated from hms token device
Environment
- Platform: Flutter
- Kit: [ Push]
- Kit Version [ 6.12.0+300]
- OS Version [e.g. Android 12]
- Android Studio version (if applicable) [e.g. 4.1]
- Platform version (if applicable)
- Node Version (if applicable)
- Your Location/Region (Egypt)
Other Add any other context about the problem here
same with me any solution for this bug but with Kit Version [ 6.12.0+300]
same with me any solution for this bug but with Kit Version [ 6.12.0+300]
Kit Version [ 6.12.0+300] too
same with me any solution for this bug but with Kit Version [ 6.12.0+300]
Kit Version [ 6.12.0+300] too
yes
I was getting empty string of push token on devices with EMUI 9, no error shown in debug console, the Push service just return back empty string of token like (""), it will be very grateful if @ozkulbeng can help me check on this. Thanks in advance
Hello @ahmedNagar123 All of our plugins are tested before the release process, and the example applications in the plugins work properly. I suggest you to try our demo first, whether it's related to the plugin. If the issue still occurs in the example application, please provide us some reproducible code and the logs to investigate the issue further.
Problem with EMUI 9. Always return empty token with such log:
doExecute, uri:push.gettoken, errorCode:0, transactionId:111870053ttoken20240827180755469100015 GetTokenTask receive an empty token, please check onNewToken callback method.