InAppBrowser stop my app


#1

Hello guys, i’m working on an app with ionic2 and when I run it on my android device, everything work fine but when I try to launch a website with InAppBrowser, the website open in _system browser but my app stop running instantly.
Here’s my code :

open(url :any){
    const browser = this.iab.create(url, '_system', 'location=yes');
    browser.show();
  }

Thanks in advance for your help !


#2

remove browser.show();
:wink:


#3

It works ! Thank you very much.
Why does .show() crash the app ?