All Categories

  • Phonegap can't Access My Own Api Service

    12/1/2016 -
    I had an issue that my app can't connect to my own api at the actual or emulator android device. Anyway, my issue is resolved by following change to root config.xml // change from this <access origin="*" /> // to following code <access origin="http://*" /> <access origin="https://*" /> Now, each dev's enviromen might be different, you might encouter the same issue by fixed by different things. At the point I was fixing my issue, my phonegap is using 6.4.2, npm is 3.10.3, node version is v6.7.0, Android studio is using 2.2.2, windows OS version is 10.0.14393.