HMS-Core / hms-flutter-plugin

This repo contains all of Flutter HMS plugins.
https://developer.huawei.com/consumer/en/doc/overview/HMS-Core-Plugin?ha_source=hms1
Apache License 2.0
278 stars 139 forks source link

huawei_push GetToken returned null #346

Open ahmedNagar123 opened 6 months ago

ahmedNagar123 commented 6 months ago

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

Other Add any other context about the problem here

JawadAlNaimat commented 5 months ago

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

ahmedNagar123 commented 5 months ago

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

Kit Version [ 6.12.0+300] too

JawadAlNaimat commented 5 months ago

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 commented 4 months ago

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 commented 1 month ago

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.