Please provide the following:
- SDK Version:49
- Platforms(Android/iOS/web/all): Android & Expo
- Add the appropriate “Tag” based on what Expo library you have a question on.
I am using expo 49 and expo router 2.0
my app has auth function and I want to prevent user go back to login page
my router is like this , ‘/index’ → ‘/login’ → ‘/(tabs)/xxx’
in login page , i use router.replace(‘/(tabs)/xxx’) but user could slide screen to ‘/index’ page , I want to set ‘/(tabs)/xxx’ as my first router history , how ?