Search code examples
react-nativedetox

Is there any way to keep state between restarting detox


i have the authorization in the app and i need to check the screens after sign in. Is there any way to do it?


Solution

  • Every detox runs, it will reinstall the app. So if you want to continue testing the app without reinstall every runs, you can add --reuse flag on detox command. It will reuse installed app on your test device/simulator. You can read more about this on Detox documentation here.