Comments (9)
Hi! Could you give me an example of the code you used and tell me how you initialized your project ?
Thanks :)
from react-native-ar.
I created a React Native project by running the following command: npx react-native init demo.
Afterwards, I followed the steps outlined in the README.md file.
Step 1: I executed the command npm install react-native-ar-viewer to install the necessary package.
Step 2: I added the following code snippet to the AndroidManifest.xml file:
<meta-data android:name="com.google.ar.core" android:value="required" tools:replace="android:value" />
Step 3: I added the xmlns:tools="http://schemas.android.com/tools" attribute to the tag.
However, when I tried to run the application, I encountered an error which is mentioned in the issue.
For your reference, these are the versions of dependencies I am currently using.
from react-native-ar.
I successfully reproduced the issue, i'm currently working on it
from react-native-ar.
Hello ! This should be fixed, please update to 0.1.17 :)
from react-native-ar.
π Hi there!
I incorporated the change you suggested into my project and ran it using the following command:
npx react-native run-android
However, when I installed the app on my phone, I encountered the following error.
Could you help me rectify this issue?
from react-native-ar.
Thanks for your answer, could you please send me your android/app/src/main/AndroidManifets.xml ?
from react-native-ar.
Thanks for your helpπ.
The project is now up and running. The problem I reported earlier has been resolved by following these steps.
Earlier I was adding meta-data tag inside acitivity tag at line 21 like this:
The issue is fixed by adding meta-data tag after activity tag at line 27.
from react-native-ar.
Alright, i guess the readme isn't really clear about it, sorry ! I'll change it asap.
I'm glad you get it working, and I'm still here if you need me again !
from react-native-ar.
Glad to hear that! Thanks for helping out :)
from react-native-ar.
Related Issues (8)
- java.lang.NullPointerException
- Not working HOT 1
- Error: Unable to resolve host "github.com": No address associated with hostname HOT 1
- Invite for OSS Viro Community HOT 4
- Add multiple objects in a scene, image tracking and location based markers HOT 1
- Gestures not working on iOS
- lightEstimation is not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ar.