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

Open new browserTab _system not working correctly #32

Open
engharb opened this issue Dec 28, 2018 · 0 comments
Open

Open new browserTab _system not working correctly #32

engharb opened this issue Dec 28, 2018 · 0 comments

Comments

@engharb
Copy link

engharb commented Dec 28, 2018

Hi,

I tried the following:

// in constructor : private browserTab: BrowserTab,
this.browserTab.isAvailable().then(
            isAvailable => {

                if (isAvailable) {
                    this.browserTab.openUrl(
                        "myTestUrl"
                    ).then(onfulfilled => {
                        alert("Succeeded");
                    }).catch(err => {
                        alert("errorrrrrr");
                    });
                }
            }
        ).catch( err => {
            alert(JSON.stringify(err));
        });
`
``
I want to keep an event listener to the opened tab in order to read i.e url or other features.

Unfortunately that is not possible. 

I'm using 
* Ionic-core:4
* angualr5
* typescript

Any suggestion?
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