viromedia/viro

Bare React Native App, Overlay React-Native-Maps Mapview hides ViroARSceneNavigator

mrkprdo opened this issue · 1 comments

Environment

Please provide the following information about your environment:

  1. Development OS: Mac
  2. 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
  3. Version: ViroReact version and React Native version. viro: 2.21.1, react: 16.13.1
  4. 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.

Solved using this:
#107 (comment)