hms-flutter-plugin icon indicating copy to clipboard operation
hms-flutter-plugin copied to clipboard

huawei_push GetToken returned null

Open ahmedNagar123 opened this issue 1 year ago • 6 comments

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

ahmedNagar123 avatar Jan 11 '24 13:01 ahmedNagar123

same with me any solution for this bug but with Kit Version [ 6.12.0+300]

JawadAlNaimat avatar Feb 18 '24 12:02 JawadAlNaimat

same with me any solution for this bug but with Kit Version [ 6.12.0+300]

Kit Version [ 6.12.0+300] too

ahmedNagar123 avatar Feb 18 '24 12:02 ahmedNagar123

same with me any solution for this bug but with Kit Version [ 6.12.0+300]

Kit Version [ 6.12.0+300] too

yes

JawadAlNaimat avatar Feb 18 '24 12:02 JawadAlNaimat

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

artisan-lai-07 avatar Mar 20 '24 04:03 artisan-lai-07

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.

ozkulbeng avatar May 22 '24 05:05 ozkulbeng

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.

kraa avatar Aug 27 '24 15:08 kraa