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

Custom path - open specific page #321

Open
scarletpro opened this issue Aug 4, 2020 · 1 comment
Open

Custom path - open specific page #321

scarletpro opened this issue Aug 4, 2020 · 1 comment

Comments

@scarletpro
Copy link

Hello, I am new to this and I need to be able to open a specific page. I have installed the plugin and it works perfect (i tried mycoolapp: // and opened the application perfectly). My app has multiple restaurants, and what I want is open a restaurant menu like mycoolapp://restaurant1, I don't know how to find the path.

@rolinger
Copy link

rolinger commented Sep 2, 2020

@scarletpro - whats your app environment? To get the path that was passed into your app, you would need to handleOpenURL(url) after your deviceReady();

IE:

    function handleOpenURL(url) {
      console.log("received url: " + url);
    }  

would print to console: restaurant1

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