Skip to content

Commit

Permalink
Create xr.js
Browse files Browse the repository at this point in the history
  • Loading branch information
KOSASIH authored Aug 24, 2024
1 parent ffb6466 commit f17beb8
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions app/XR_integration/xr.js
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit f17beb8

Please sign in to comment.