-
Notifications
You must be signed in to change notification settings - Fork 12
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
How to use Wikitude with React Native #11
Comments
Wikitude allows you to build your own AR Scene with a web based tool called "WIkitude Studio". |
As far as I understand, I have to build a website containing objects, and then with the site address, I will add to the architectWorldURL section. |
This is correct. The static "website" will be build by "Wikitude Studio". There is an "export" link which allows you to download the scene to your system. Then host ist anywhere you like. What works for me was starting a simple web server to serve the website e.g. https://www.npmjs.com/package/http-server and exposing it public via https://ngrok.com. You would then use the ngrok url as your architectWorldURL. This workflow worked great for me. For production you need to find other ways of course but it's good enough for development. |
I'm also struggling with this problem. I exported a WTO file (I don't see any other form of export), I have a direct link to the file ( https://drive.google.com/uc?export=download&id=1xvcGmp7fGdfR-8K__BaHejxMO8JQ00ud ) but when I run the App in react native with this url it just redirects to the browser to download the file. |
You must provide a url to a html file, not to the WTO file. You can download your scene from "Wikitude Studio" as well. Besides that, you could try a sample scene first. If this is working, replace the sample scene with your scene (downloaded from "Wikitude Studio"). |
Thank you! Just found the "Download offline project..." option. The problem now is : I tried to start a new project in Wikitude studio with sdk 7 but it only allows to add "object targets" as videos, not images. |
You could try to update the SDK to version 8.1.0. My pull request was merged some time ago. Keep in mind that there seems to be some problems with the NPM Package (i guess) which results into a missing iOS SDK, so you probably have to link it manually in XCode. If you have done this, create a new Wikitude Studio Project based on Version 8.1.0 and try to integrate your scene again. If you need any further help, just let me know. |
Thanks for the help. |
Are you experiencing the same issues with a sample scene? |
It looks like the problem was with the server I was hosting the project. |
Hi Brave Team, I am trying to call a java method within my function via document.location://architectsdk/testMethod. However, when deploying my application to my emulator, I am currently getting an unknown schema exception.. Am I doing something wrong? Is this feature currently not supported? If so could you please point me in the right direction to get this working? Thanks! |
In function , startAR( architectWorldURL: string, hasGeolocation:boolean, hasImageRecognition:boolean , hasInstantTracking:boolean , wikitudeSDKKey:string ) ", I don't understand paramater ' architectWorldURL ' . What is it ???
The text was updated successfully, but these errors were encountered: