ERR_NAME_NOT_RESOLVED on ONSENUI VS2015



  • I have an application, Cordova Tools (Visual Studio) with OnsenUi framework. It’s working fine, using the code below. Note: I’m Using Inappbrowser.

    <ons-icon icon="fa fa-globe" fixed-width="true" onclick="window.open('http://www.mywebsite.com.br', '_blank', 'location=yes')"></ons-icon>
    

    But when i try to use my social profiles (Pinterest,instagram …) with : https:// I’m receiving this error:

    ERR_NAME_NOT_RESOLVED 
    

    webpage not available

    So if you have the same problem , my solution : remove Location = yes

         <ons-icon icon="fa fa-globe" fixed-width="true" onclick="window.open('https://www.myinstagram.com', '_blank')"></ons-icon>
    

    So, now like me you can be happy, adding your social profiles inside your application.


  • Onsen UI

    Thanks for sharing it @Leonardo-Augusto ! This will be helpful for somebody else :)


Log in to reply