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
I updated my flutter sdk to sdk: ">=2.15.1 <3.0.0", and updated the whole app to be null-safe, but that resulted in the MomentumRouter.resetWithContext and Momentum.restart not working. The issue after countless tries seems to be the .resetWithContext function, because upon calling those functions to reset initial page say upon login, or wanting to do Navigate and Replace, the app clearly restarts, but goes back to app initial or whatever was your welcome or first page thereby not persisting login.
I have resorted to use MomentumRouter.goto for the time being just so the app can login since MomentumRouter.resetWithContext and Momentum.restart won't allow navigation to new page from Login Page, but the issue of persisting login is still an issue. Before the sdk update they were working as expected. As the video shows the last try that gets in the app uses MomentumRouter.goto, the other first tries was using MomentumRouter.resetWithContext and Momentum.restart.
I updated my flutter sdk to sdk: ">=2.15.1 <3.0.0", and updated the whole app to be null-safe, but that resulted in the MomentumRouter.resetWithContext and Momentum.restart not working. The issue after countless tries seems to be the .resetWithContext function, because upon calling those functions to reset initial page say upon login, or wanting to do Navigate and Replace, the app clearly restarts, but goes back to app initial or whatever was your welcome or first page thereby not persisting login.
I have resorted to use MomentumRouter.goto for the time being just so the app can login since MomentumRouter.resetWithContext and Momentum.restart won't allow navigation to new page from Login Page, but the issue of persisting login is still an issue. Before the sdk update they were working as expected. As the video shows the last try that gets in the app uses MomentumRouter.goto, the other first tries was using MomentumRouter.resetWithContext and Momentum.restart.
Android.Emulator.-.Pixel_4_XL_API_30_5554.2022-02-06.mp4
The text was updated successfully, but these errors were encountered: