A Cordova plugin that provides an interface to in-app browser tabs that exist on some mobile platforms, such as SFSafariViewController on iOS and CustomTabs on Android.
Apache License 2.0
117
stars
147
forks
source link
Open new browserTab _system not working correctly #32
// 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?
Hi,
I tried the following: