ReactVision / viro

ViroReact: The AR and VR library for React Native 📳💙💛🤍💚
MIT License
1.36k stars 156 forks source link

Vertical ARPlaneSelector in iOS #12

Open antoniolinhart opened 3 years ago

antoniolinhart commented 3 years ago

Environment

Please provide the following information about your environment:

  1. Development OS: Mac,
  2. Device OS & Version: iOS 13.0
  3. Version: ViroReact: latest ViroCommunity, React Native: 0.63.4
  4. Device(s): iPhone XR

Description

When using the ARPlaneSelector on iOS on "vertical" mode, it does not detect any vertical planes. It works on Android!

Reproducible Demo

Following the instructions on the starter kit page: https://github.com/ViroCommunity/starter-kit

git clone https://github.com/ViroCommunity/starter-kit.git cd starter-kit npm install npx pod-install (iOS) Edit App.js by including a ViroARPlaneSelector with alignment="Vertical". You will also need to add anchorDetectionTypes=["PlanesVertical"] to the ViroARScene. Import ViroARPlaneSelector. npx react-native run-ios

admbtlr commented 2 years ago

I'm seeing this problem too. Does anyone have any ideas about how to fix it?

gregoryalary commented 1 year ago

@antoniolinhart, @admbtlr could you make it work ? Thanks in advance.