Closed ivanmorales closed 6 years ago
Hi @ivanmorales ,
Thanks for reaching out. That is actually expected behavior. The ovr
flavor of the app is for Samsung Gear VR enabled phones. On Android, we support 3 VR Platforms: Google Daydream, Google Cardboard and Samsung/Oculus. These translate to 2 build flavors:
gvr
builds would work on Android devices that support Google Daydream and Cardboard (That's why the gvr
build works on your pixel).ovr
builds on Samsung/Oculus GearVR. That's why it is failing on your pixel device since it cannot find a system library required for Oculus apps. It should work on Samsung S* line of Android devices.This is captured on a couple of our documentation page - https://docs.viromedia.com/docs/installing-viro-android .
Thanks @manbod.
Issue
When running the app from an APK the app continues to close. Whenever and APK is generated (signed or not) the
ovr
flavor crashes on load.Device and Versions
Phone: Pixel2 Android Version: 8.1.0 React: 16.3.1 React Native: 0.55.1 React Viro: 2.6.0
Backstory
The app runs as expected in the ViroMedia test bed applicaiton. It also runs as expected when launching it directly from
react-native run-android
and from Android Studio.Possible Error (from stack trace)
This is the error I see on Logcat before the app closes. Where this looks to be the offending line:
vrapi_Shutdown was called before vrapi_Initialize()
More Notes
gvr
flavor actually works as expectedStack Trace