Closed loic-lopez closed 5 years ago
Solved by removing a <Screen>
which is a wrapper of a <View>
<Screen style={FULL}>
</Screen>
Solution:
render(): React.ReactNode {
return (
<ViroARSceneNavigator
style={FULL}
apiKey={ReactViroConfig.API_KEY}
initialScene={{ scene: AugmentedRealityScreen }}
/>
)
}
I'm getting the same error. My app.js looks like: ` const App = () =>
`
where View is imported from 'react-native' and Header is imported from 'react-native-elements'. I'm not sure what I'm doing wrong. I was under the impression that the ViroMedia component, 'ViroArSceneNavigator' would work fine alongside other react components from other libraries.
Environment
"react-viro": "^2.13.0",
and"react-native": "0.58.4"
Description
Can't render an ARScene:
My pod file:
My React Native Code: ViroARSceneNavigator:
AugmentedRealityScreen:
Results in:
Xcode log: