Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS support? #302

Open
dendrofen opened this issue Oct 29, 2023 · 3 comments
Open

iOS support? #302

dendrofen opened this issue Oct 29, 2023 · 3 comments

Comments

@dendrofen
Copy link

Note: I'm using code example from README.

Critical things

  1. There are some critical issues in current version, connected to ability to run AR sessions on android devices event with support available from "can i use" website...

  2. There are old pull requests in current repository which is not merged

  3. There are very old (almost 1-2 year) issues without answers or still open

  4. No workaround for ios devices

Possible solutions

  • add info about devices support.

Importance

This is the only react-three-fiber ecosystem webxr tool, and it looks very strange that this repository exists being partially working solution, without following it's original functional target?

@CodyJasonBennett
Copy link
Member

The only actionable thing I can see here is adding a note about Apple's continued refusal to implement WebXR on iOS. I'm not going to entertain the rest.

@dendrofen
Copy link
Author

Okey, good.
And what about android, do we have any demo for android AR?

@CodyJasonBennett
Copy link
Member

We don't have a posted demo yet for Android AR, but it would use ARButton as per the getting started example https://github.com/pmndrs/react-xr#getting-started.

import { ARButton, XR } from '@react-three/xr'
import { Canvas } from '@react-three/fiber'

function App() {
  return (
    <>
      <ARButton />
      <Canvas>
        <XR>
          <mesh>
            <boxGeometry />
            <meshBasicMaterial color="blue" />
          </mesh>
        </XR>
      </Canvas>
    </>
  )
}

@CodyJasonBennett CodyJasonBennett changed the title Mobile devices AR support? iOS support? Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants