No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    InAppBrowser plugin doesn't work

    Help
    1
    2
    358
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Winexcel last edited by

      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() {
           //cordova.InAppBrowser.open('http://apache.org', '_blank', 'location=yes'); // this works
           openURL('https://google.com'); // this doesn't work
        }
      

      If i call cordova.InAppBrowser.open 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?

      1 Reply Last reply Reply Quote 0
      • W
        Winexcel last edited by

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

        cordova plugin remove cordova-plugin-inappbrowser
        
        1 Reply Last reply Reply Quote 0
        • First post
          Last post