-
Clone the repo
-
yarn
ornpm install
-
npm start
-
open ViroMedia testbed app and run project from it.
cd ios
pod install
-
- Open Xcode Workspace.
- RCTWebSocket Target -> Build Phases -> Link Binary With Libraries and replace the unresolved
libfishhook.a
with the correct one under RCTWebSocket.xcodeproj -> Products
-
-
Open workspace in Xcode and build for device
-
Update signing for correct team
-
Build with Xcode with physical device connected (with ARKit 2 support)
-
Print the following image:
-
If you are not able to print it in color, change the marker image to black and white in
js/res/businss_card.png
Point app to business card and get additional AR Content.
-
if you have config.h build error -
cd ./node_modules/react-native/third-party/glog-0.3.4 && ../../scripts/ios-configure-glog.sh
(based on facebook/react-native#19774)