viro
viro copied to clipboard
Can't use this package in react native 0.61.5 ?
I could run app in react-native 0.59, but in 0.61.5, app is crashed.
Please upgrade version so that developers can use this package in react-native 0.60 + versions. Thanks
You can but with this line inside package.json
"react-viro": "npm:@iskander508/react-viro@^0.61.2"
@tscj3490 you good on this ? If so, could you close the issue ?
No, I am still struggling.. Would you provide a sample repo working in react native 0.61.5 or more version ?
I am using this in my package.json https://github.com/mendix/viro, can you try this source directly for react-viro in your package.json ?
oki.. let me try with it.
I am using this in my package.json https://github.com/mendix/viro, can you try this source directly for react-viro in your package.json ?
For me, it doesn't work. What react native version do u use ?
this resolve the ios 13.5 bug UIWebView ? VR work after update?
this resolve the ios 13.5 bug UIWebView ? VR work after update?
No, I can't still deploy viro app to apple store.. Apple doesn't approve.
I am able to use viro in RN 0.63.3 by doing following:
- Clone viro repository
- Updated react and react-native versions to latest version in package.json
- Updated react and react-native versions to latest version in package.json in test folder and run npm install (May be not necessary)
- execute prepare_release.sh in root directory => It generates react-viro-2.17.0.tgz file
- Created project with react-native init and installed react-viro and create-react-class using npm
- Remove all the contents of react-viro in node-modules and then extract the contents of tgz file into cleared react-viro.
- execute this script to make all necessary modifications in gradle, AndroidManifest.xml and java files: ./node_modules/react-viro/bin/android-setup.sh
true. Modified few errors - Then running android script with GvrDebug, react-native run-android --variant=GvrDebug
The above mentioned steps made my VR app to run perfectly. refer this gist to see all the necessary changes: https://gist.github.com/akeemphilbert/8323a7b71e682469b922920a624b35a8
Hope this helps
I am able to use viro in RN 0.63.3 by doing following:
- Clone viro repository
- Updated react and react-native versions to latest version in package.json
- Updated react and react-native versions to latest version in package.json in test folder and run npm install (May be not necessary)
- execute prepare_release.sh in root directory => It generates react-viro-2.17.0.tgz file
- Created project with react-native init and installed react-viro and create-react-class using npm
- Remove all the contents of react-viro in node-modules and then extract the contents of tgz file into cleared react-viro.
- execute this script to make all necessary modifications in gradle, AndroidManifest.xml and java files: ./node_modules/react-viro/bin/android-setup.sh true. Modified few errors
- Then running android script with GvrDebug, react-native run-android --variant=GvrDebug
The above mentioned steps made my VR app to run perfectly. refer this gist to see all the necessary changes: https://gist.github.com/akeemphilbert/8323a7b71e682469b922920a624b35a8
Hope this helps
Excuse me! @Akash76 Have you test this on iOS devices?