From f17beb86c49c6c6acd79e061ba076b99c2ccb967 Mon Sep 17 00:00:00 2001 From: KOSASIH Date: Sun, 25 Aug 2024 06:47:37 +0700 Subject: [PATCH] Create xr.js --- app/XR_integration/xr.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 app/XR_integration/xr.js diff --git a/app/XR_integration/xr.js b/app/XR_integration/xr.js new file mode 100644 index 0000000..226dd22 --- /dev/null +++ b/app/XR_integration/xr.js @@ -0,0 +1,13 @@ +import { ReactNativeAR } from 'react-native-ar'; + +const xr = { + createARExperience: () => { + const arExperience = ReactNativeAR.createARExperience({ + type: 'marker', + marker: 'wallet', + }); + return arExperience; + }, +}; + +export default xr;