I am able to get Rest URL response properly from browser and android simulator by giving
in the config.xml and proxies in ionic.project and gulpfile.js but i am getting error response from android device.
Please let me know what could be the wrong.
Check if whitelist plugin is installed and if the tag
Is present on the config.xml file.
On the index.html file paste this line inside
<meta http-equiv="Content-Security-Policy" content="default-src *; script-src 'self' 'unsafe-inline' 'unsafe-eval' *; style-src 'self' 'unsafe-inline' *">
Check if you have these permissions in AndroidManifest.xml (platforms->android->AndroidManifest.xml)
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Thank you for providing solution and now i am able to get data also from device by giving above things.
Another Issue i am having is i could not run in the lower versions devices(Android version:4.0.4).
Please let me know solution for this.