4 Replies Latest reply on Feb 14, 2017 5:25 PM by reacaosistemas

    I built an app using phonegap but it can't access the internet

    nutribun

      Hi,

       

      I have built an app using the builder of phonegap, the one wherein you just have to add zip files of your html, css and js.

       

      APK was built. However when I tried to install it an emulator and an android phone. The app can't seem to access the internet.

       

      My app works well, but the internet functionality (fetching twitter feeds and images from web) is not working and just displays as a broken link.

       

      I have checked the androidmanifest.xml and it already has the following permissions:

       <uses-permission android:name="android.permission.INTERNET" /> 
      <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

      Also config xml has:

      <access origin="*" />

       

      The emulator and the mobile phone is properly connected to the internet and my website also works fine using the browser.

       

      Thanks!