You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
notif: Use live value for app ID on registering APNs token
Fixes#407.
`await ZulipBinding.instance.packageInfo` was added to get the
packageName, making `registerToken` take longer to complete.
Previously, in "token initially unknown" test in the
UpdateMachine.registerNotificationToken `start()` and
`_registerNotificationToken()` finished in sync with the test’s
expectations. Now, `flushMicrotasks` is added to ensure that the
listener callback `_registerNotificationToken()` finishes its
async work before continuing the test.
Added packageInfo function in `example_data.dart` and updated tests
that implicitly relied on packageInfo data to explicitly set it.
0 commit comments