Ionic inappbrowser


#1

iam currently using ionic inappbrowser plugin, but i cant get the url from the loadstop event, and i only can use the _blank param. did i must have use emulator , to run like this video ? so i can open up my link inside my app not other browser ? https://www.youtube.com/watch?v=SPJ9TdHaI3A&t=305s

please help me with the event and the configuration :’

heres my code :
let options : InAppBrowserOptions = {
location: ‘yes’,
zoom : ‘no’,
}
let url = ‘http://xxxx.com/?token=123-123-531asd
let browse = this.iab.create(url,’_blank’,options);
browse.on(‘loadstop’).subscribe(event=>{
console.log(event,‘ini event?’)
// browse.close()
})
browse.on(‘loadstart’).subscribe(event=>{
console.log('ini event ')
})