This is a demo application created for this talk at React Native EU 2018.
You can also find a presentation useful to follow up with the development process.
While ViroAR remains a popular AR/VR solution for developing cross-platform ReactNative applications there's also an OpenSource solutions like react-native-arkit or react-reality available that can provide you with a good quality apps.
Main goal of this app is to demonstrate how easy you can create AR experiences using React Native and some open-source libraries. The demo app is built to help you hang different paintings on the wall.
During the talk we're going through specific steps of interacting with ARKit and you can follow up all this steps by switching between commits.
- Initial project setup
- Integrating
react-native-arkit
into the app - Adding first
Box
object that will be our painting - Playing with
withProjectedPosition()
HOC - Adding a wall detection
- Placing and removing the painting
- Adding ability to move the painting around
- Download images to be displayed
- Adding the underlying 3D text under each painting
- Adding a snapshot feature
- react-native - cause React Native
- react-native-arkit - For interacting with ARKit
- react-native-fs - For files downloading
- react-native-vector-icons - For icons across the app
- react-native-permissions - For Photo Library access
- react-redux - For state management