Open MinhazMM opened 4 years ago
Are you using a navigation component like react-navigator or wix/react-native-navigation? If so, just navigate as normal.
From your 'vanilla' screen navigate to another view which contains your Viro Navigation, whenever you're ready to go back to 'vanilla', just call the proper ::goBack or ::pop method from your navigation and you are done.
Hi @MinhazMM , did you manage to resolve this issue? We are having the same problem and :goBack doesn't seem to resolve it!
Environment
Please provide the following information about your environment:
Description
I am using Viro React to view VR videos. Initially the app opens a normal react native view and the user has the ability to select which VR video they wanna watch and it loads the video in VR using viro react.
So I am finding it hard to help the user go back to the react native view because i tried to change the state and navigate back but that just freezes the screen after it goes back....
Reproducible Demo
This is how I change the state via the back button that is available on the top left corner of the VR video view