Automatically pops back to previous screen

Author: ecaepseyCreated Dec 9, 2019Updated May 9, 2023

Version

Tell us which versions you are using: "react-native-router-flux": "^4.0.6", "react": "16.9.0", "react-native": "0.61.4",

Expected behaviour

i have 3 screens, opt screen, loader screen and home screen after typing otp code, loader screen opens for a few seconds and then home screen

Actual behaviour

after typing otp code, loader screen opens for 1 sec and then back to opt screen At the beginning I thought it was my logical mistake but no If i enter otp again everything will work correctly

My code https://pastebin.com/wxtHtfLj

How to create a Minimal, Complete, and Verifiable example https://stackoverflow.com/help/mcve

--> Please provide a minimized reproducible demonstration of the problem you're reporting.

Issues that come with minimal repro's are resolved much more quickly than issues where a maintainer has to reproduce themselves.

Source: aksonov/react-native-router-flux