This repo contains POC on viro AR ( Viro Community )
https://github.com/ViroCommunity/viro/blob/main/readmes/INSTALL_ANDROID.md
https://github.com/viromedia/viro/tree/master/code-samples/js
https://viro-community.readme.io/docs
- If you see any error related to file not found, a potential reason could be you didn't setup asset resolver in metroconfig.js, like so:
const {getDefaultConfig} = require('metro-config');
module.exports = (async () => {
const {
resolver: { assetExts }
} = await getDefaultConfig();
return {
transformer: {
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: true,
},
}),
},
resolver: {
assetExts: [
...assetExts,
'obj',
'mtl',
'JPG',
'vrx',
'hdr',
'gltf',
'glb',
'bin',
'arobject',
'gif',
],
},
};
})();
- If you see error related to expoplayer:2.7.1 not found, duplicate source, a solution might be to comment out the exoplayer dependency.