Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70435

In-app browser is not opening on Android Q and Pie for following code

$
0
0

@masharod wrote:

In-app browser is not opening on Android Q and Pie for following code. Please help

constructor(private inAppBrowser: InAppBrowser, public platform: Platform) {
let browser = this.inAppBrowser.create(this.link,’_blank’,‘zoom=no,location=no’);
platform.ready().then(() => {
browser.show();
});

    browser.on('exit').subscribe(() => {
      console.log('browser closed');
      platform.exitApp();
    }, err => {
      console.error(err);
    });

}

Also tried,

constructor(private inAppBrowser: InAppBrowser, public platform: Platform) {
let browser = this.inAppBrowser.create(this.link,’_self’,{zoom:‘no’,location:‘no’});
platform.ready().then(() => {
browser.show();
});

    browser.on('exit').subscribe(() => {
      console.log('browser closed');
      platform.exitApp();
    }, err => {
      console.error(err);
    });

}

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>