Hi everyone,
I'm implementing phone authentication using FlutterFlow's built-in actions (Auth > Phone Sign In, etc.).
On the page where the user enters the SMS code, I added a countdown timer. After 60 seconds, the user can request to resend the code by navigating back to the previous page.
Everything works fine the first time. However, when I return to the SMS code page (to enter the new code), the countdown timer does not restart—it just stays at 0.
I have an action in the Page Load
that starts the timer, but it seems that when I navigate back to this page, the Page Load
action is not triggered again.
I'm new to FlutterFlow, so I guess this might be something simple that I'm missing. Any ideas on how to properly restart the timer when returning to the page?