Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

huawei_push GetToken returned null #346

Open
ahmedNagar123 opened this issue Jan 11, 2024 · 6 comments
Open

huawei_push GetToken returned null #346

ahmedNagar123 opened this issue Jan 11, 2024 · 6 comments

Comments

@ahmedNagar123
Copy link

ahmedNagar123 commented Jan 11, 2024

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 ahmedNagar123 changed the title Token returned null huawei_push GetToken returned null Jan 11, 2024
@JawadAlNaimat
Copy link

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

@ahmedNagar123
Copy link
Author

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

Kit Version [ 6.12.0+300] too

@JawadAlNaimat
Copy link

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

Kit Version [ 6.12.0+300] too

yes

@artisan-lai-07
Copy link

artisan-lai-07 commented Mar 20, 2024

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

@ozkulbeng
Copy link
Contributor

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.

@kraa
Copy link

kraa commented Aug 27, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants