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

Opening assets in my app, not the browser #64

Open
ndarilek opened this issue Jan 22, 2018 · 0 comments
Open

Opening assets in my app, not the browser #64

ndarilek opened this issue Jan 22, 2018 · 0 comments

Comments

@ndarilek
Copy link

Not sure if I'm misunderstanding the purpose of this plugin. I'm trying to use it to render HTML created by Nuxt.js, which only renders via the server, and fails if I attempt to use file:// schemes. I'm starting the server, then on success I'm calling document.location = <url> to redirect.

Unfortunately, this pops up a dialog asking which browser I want to use to open the page. Of course, my app doesn't show up, but even if it did, my intent is for this HTML to open in the app itself.

Is there some additional setup I need to do in my app, maybe matching a URL pattern in config.xml? I'm fairly new to Cordova, so apologies if this is an obvious question and I've missed the answer. 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

1 participant