-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 [FIREBASE_MESSAGING] OnTokenRefresh stream dont't work using iOS physical device/Emulator. #8122
Comments
@yamauchieduardo |
Is similar with #5389, but still happen just for iOS physical device/Emulator. Version used:
|
I can confirm this issue. Before I migrated my project to null-safety, and updated the firebase packages it was working but now it doesn't. Version used ^11.2.6 but also tried to downgrade to 11.2.0, 10.0.9 and 10.0.0 but on all versions it still didn't work anymore. The firebase_core package was upgraded from 1.2.0 to 1.12.0 sdk went from '>=2.7.0 <3.0.0' to '>=2.12.0 <3.0.0' It is working properly on Android devices flutter doctor -v:
|
Thanks for the update. I do see the same behavior upon running the given code sample and running it on iOS simulator.
|
Related / similar: #5389 /cc @russellwheatley |
When a new token is generate by the methods
deleteToken
andgetToken
, the streamonTokenRefresh
doesn't call thecallback registered.
This behaviour just occurs using iOS physical device/Emulator, using Android physical device/Emulator work regularly.
Android example rendered
iOS example rendered
Code to reproduce the bug:
To clarify: the methods
getToken
&deleteToken
work as expected, just the streamonTokenRefresh
don't work in iOS emulator/physical device.The text was updated successfully, but these errors were encountered: