Bare React Native App, Overlay React-Native-Maps Mapview hides ViroARSceneNavigator
mrkprdo opened this issue · 1 comments
mrkprdo commented
- Review the documentation: https://docs.viromedia.com/
- Search for existing issues: https://github.com/viromedia/viro
- Use the latest ViroReact release: https://docs.viromedia.com/docs/releases
Environment
Please provide the following information about your environment:
- Development OS: Mac
- Device OS & Version: What Android OS version (7.0, 8.0, etc.) or iOS version (11.0, 11.2) is your device running on? 11
- Version: ViroReact version and React Native version. viro: 2.21.1, react: 16.13.1
- Device(s): What device(s) are you are seeing the issue on (i.e. iPhone X, Samsung Note 8, etc) Samsung S21
Description
Describe your issue in detail. Include screenshots if needed. If this is a regression, let us know.
I tried to add component on top of
The AR will not show if I have the mapview component added.
Tried couple of things:
a.)
<View>
<ViroARSceneNavigator/>
<Mapview>
<Markers></Markers>
</Mapview>
<View>
b.)
<ViroARSceneNavigator>
<Mapview>
<Markers></Markers>
</Mapview>
<ViroARSceneNavigator>
c.)
<ViroFlexView>
<ViroARSceneNavigator/>
<Mapview>
<Markers></Markers>
</Mapview>
<ViroFlexView>
Reproducible Demo
Let us know how to reproduce the issue. Include a code sample, screen capture, video recording. The more information you provide, the better we can support you.
mrkprdo commented
Solved using this:
#107 (comment)