When starting the ios app I keep getting this error:
[PushNotifications] - Something went wrong. Please make sure that you've called `start` before `registerDeviceToken`.
After investigating it a bit, I think this is because didRegisterForRemoteNotificationsWithDeviceToken can be called before flutter has been initialized and therefore before start is called within flutter's context.
When starting the ios app I keep getting this error:
After investigating it a bit, I think this is because
didRegisterForRemoteNotificationsWithDeviceToken
can be called before flutter has been initialized and therefore beforestart
is called within flutter's context.