Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

React Native ViroVRSceneNavigator.onExitViro method not called on Android Devices

$
0
0

I can't seem to get OnExitViro working on Android devices, but for iPhone the onExitViro method gets called and on iPhones it's showing a left arrow and on Android devices it is showing "X".

My dependencies are as follows:

"expo": "^36.0.2","expo-cli": "^3.16.1","expo-file-system": "^8.1.0","react": "16.8.3","react-native": "0.59.9","react-native-paper": "^3.6.0","react-native-responsive-fontsize": "^0.4.3","react-native-responsive-screen": "^1.4.1","react-native-unimodules": "^0.7.0","react-native-vector-icons": "^6.6.0","react-viro": "2.17.0","rn-bottom-drawer": "^1.4.3"

And here is the code I have for the onExitViro

  _exitViro (){    this.setState({      navigatorType: "UNSET"    })  }

and I am calling it on the ViroVRSceneNavigator as

onExitViro={this._exitViro.bind(this)}

Is there anything that I am doing wrong?


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>