Giter VIP home page Giter VIP logo

react-native-ar's People

Contributors

dependabot[bot] avatar kingdcreations avatar riderodd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-ar's Issues

Add multiple objects in a scene, image tracking and location based markers

I really like the work you have put in. Could you add the possibility to include multiple objects in a scene. "model" property becoming an array of strings and there are individually tracked

For image tracking, if the user provides an image, the object appears when the camera meets the image.

For location based, ehen the user provides a location, the component computes the user's location compared to the object's and when it fits a minimum required, the object appears.

Thanks.

Execution failed for task ':react-native-ar-viewer:compileDebugKotlin'

I cloned the react-native-ar-viewer repository and was able to run the example project without any issues. However, when I tried to use the package in my own project, I encountered the following error:

image

I followed the instructions in the package's README file, but I'm still getting this error.

The error message specifically states that there is a type mismatch in the ArViewerView.kt file on line 291, where an inferred type is MotionEvent? but MotionEvent was expected. This suggests that there may be an issue with how the MotionEvent type is being used in the code.

I'm not sure how to resolve this issue, so I would appreciate any help or guidance on how to fix this.

Thank you for your assistance!

Invite for OSS Viro Community

Hello @riderodd

How are you?

Some people on discord pointed that you would be interested in Viro.

Right now I am looking for OSS contributors to keep It alive. Any help is great!

Are you interested? Ping me on any time :)

Gestures not working on iOS

Describe the bug
Placement of the object works, but after that no gestures seem to be detected for moving/rotating/scaling

To Reproduce
Use the library as the demo code suggests, view the app.

Expected behavior
Gestures are detected and responded to

Desktop (please complete the following information):

  • OS: iOS

Smartphone (please complete the following information):

  • Device: iPhone 13 Pro

Additional context
Would be happy to try to contribute, but am not really sure where to start!

java.lang.NullPointerException

I was implementing a feature that required me to change the models on button click while using your package. However, I observed a strange behavior where we had to click the button to load the model and then click on the plane to make it visible in the application.

Can you suggest a solution to eliminate this double-clicking behavior?

I am attempting to avoid passing the disableInstantPlacement prop in ArViewerView.
However, when I tried to debug the code by adding a print statement in the ArViewerView.kt file, I received an error.

image

Could you please assist me in resolving this issue?

lightEstimation is not working

lightEstimation is not working in react native ar

I am using react-native-ar-viewer

lightEstimation={false} is working but lightEstimation={true} is showing black model

code

 <ArViewerView
          model={localModelPath}
          style={styles.arView}
          disableInstantPlacement
          manageDepth={true}
          allowRotate={true}
          allowScale={true}
          allowTranslate
          lightEstimation
          onStarted={() => console.log('started')}
          onEnded={() => console.log('ended')}
          onModelPlaced={() => console.log('model displayed')}
          onModelRemoved={() => console.log('model not visible anymore')}
          planeOrientation={'both'}
          ref={ref}
        />

Error: Unable to resolve host "github.com": No address associated with hostname

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

Not working

I use this code
<ArViewerView
style={{flex: 1}}
model={Platform.OS === 'android' ? 'dice.glb' : 'dice.usdz'}
lightEstimation
manageDepth
allowRotate
allowScale
allowTranslate
disableInstantPlacement
onStarted={() => console.log('started')}
onEnded={() => console.log('ended')}
onModelPlaced={() => console.log('model displayed')}
onModelRemoved={() => console.log('model not visible anymore')}
planeOrientation="both"
/>
'dice.glb' and 'dice.usdz' with code in the same folder .
when i run that example , nothing show in the screen just ask me about camera permission

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.