InAppBrowser plugin doesn't work

  • Hi, I try to use InAppBrowser plugin with cordova, i want to open internal browser in my app, so i use this to achieve my aim:
    Firstly, i installed the plugin by typing this

    cordova plugin add cordova-plugin-inappbrowser

    Then i wrote this method which i call by button click

    visitMyWebsite() {
         //'', '_blank', 'location=yes'); // this works
         openURL(''); // this doesn't work

    If i call directly this works, but not happens if i call openURL after i installed this plugin, where i was wrong and how can i fix it?

  • when i removed cordova-plugin-inappbrowser after the installation openURL function doesn’t work

    cordova plugin remove cordova-plugin-inappbrowser

Log in to reply