Ar.js: Question about React Native + iOS

Created on 29 Mar 2017  路  11Comments  路  Source: jeromeetienne/AR.js

Hello! Thank you for this wonderful library. Would this work with React Native + iOS, by any chance?

integration

Most helpful comment

I am actually going to attempt it! I'll see what I can report back :)

All 11 comments

unfortunatly it doesnt work in IOS browser at the moment. But apple is working on supporting WebRTC - here

and i dunno react native

I know there are couple of native camera access modules for iOS for React Native. Not sure whether they can expose the video stream to common js though.

btw some people are trying to use phonegap to run it on IOS. apparently it would be possible. i hope this helps, i dunno phonegap either :)

https://twitter.com/astraccia/status/846494423735263232

Thanks for the really, really helpful replies! You guys really went above and beyond :D ... unlike most StackOverflow threads.

Appreciate it!

I've found the world's crappiest hack for making this work.

It goes as follows:

In a world where time didn't matter, I could implement this shit.

Code a react-native app--> then use the following:

1_ https://github.com/axemclion/react-native-cordova-plugin --> extends the ability to use Cordova plugins in React-Native.

2_ Pull in the following plugin: https://www.npmjs.com/package/cordova-plugin-iosrtc

This makes the following possible in React-Native on IOS --->

3_ https://github.com/jeromeetienne/AR.js

So in the most jerry-rigged, daisy-chained way, you could actually get this running in iOS...theoretically 馃槅

Who is game to try ?

I am actually going to attempt it! I'll see what I can report back :)

:( I want to get this working for students in iOS but this hack seems too hard for them :( I cannot believe this iOS problem, so silly

@armenr Status on that report? I'm excited to see what you found!

@armenr How are you making use of this library with react native

Maybe worth looking at this project: https://github.com/react-native-ar/react-native-arkit

Was this page helpful?
0 / 5 - 0 ratings

Related issues

whilemouse picture whilemouse  路  3Comments

soundTricker picture soundTricker  路  5Comments

Samsy picture Samsy  路  5Comments

Suresh3d picture Suresh3d  路  7Comments

omarojo picture omarojo  路  3Comments