Skip to content

Periodic Action Stop Function does not work in the following case #217

@anywheresa

Description

@anywheresa

Expected behavior (required)

When adding the periodic action to Load Page and then having a condition when true, the periodic action must stop and navigate to a different page.

Current behavior (required)

The periodic action fires and when condition is met and true, app does navigate to a different page. This works perfectly, however the periodic action stop is not fired and the action continuous running on the different page

To Reproduce (required)

  1. Create new Start Periodic action on page load ex on Page A (Works)
  2. Add condition. When current date/time is less than a date/time that was set on startup in local state variable. (Works)
  3. When Condition = True (Works)
  4. Stop Periodic Action (DOES NOT WORK - STOP PERIODIC ACTION DOES NOT FIRE)
  5. Navigate to Page B (Works)

Steps to reproduce the behavior:
As above

Bug Report Code

NA

Context (required)

The Periodic Action is useful to indicate when a jwt token has expired and then navigates the user to login. This is now preventing me from publishing the app

Screenshots / recordings

periodic

Your environment

  • Version of FlutterFlow used:
  • Platform: Web:
  • Browser name and version: Version 108.0.5359.98 (Official Build) (64-bit)
  • Operating system and version (desktop or mobile): Windows 10

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions