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

Can architectWorldURL be a a folder on the device ? #19

Open
lucasriondel opened this issue Sep 16, 2019 · 1 comment
Open

Can architectWorldURL be a a folder on the device ? #19

lucasriondel opened this issue Sep 16, 2019 · 1 comment

Comments

@lucasriondel
Copy link

I am trying to tell Wikitude to load the architectWorldURL from a folder in the local storage of my device but I wasn't able to load it correctly. Does it have to be a http URL ?

@CmerCy132
Copy link

Yes this is possible.

But we used a local server inside the device to do this.

We used this module react-native-static-server to start a static server inside the device then call the startAR() method.

This is an example of the static server config :
const server = new StaticServer('port number', "directory of the wikitude world", { localOnly: true, keepAlive: true });

BTW this is just our work around to support offline mode using wikitude. But if there are any more convenient way to do this please feel free to contribute it. Thanks :)

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