I just downloaded Ionic and compiled my first app using the tabs template. This works perfectly when tested on the local browser, but when I compile the app an run it on my android phone (Samsung Galaxy with 5.0) it is not able to load any of the external images. The only thing that I am doing different is that I am using Crosswalk which is a requirement of the project. When I request the user agent using the Chrome Dev Tools I get the following string:
Mozilla/5.0 (Linux; Android 5.0; SM-G900W8 Build/LRX21T) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.74 Mobile Crosswalk/12.41.296.5 Mobile Safari/537.36
I checked the config.xml and I do have <access origin="*"> set.
Any ideas? Ionic seems like a very nice solution otherwise.
This may be a silly suggestion, but can your phone display these images from your normal browser? I.e. first check that your phone, via your data carrier, or wifi, can access the images?
I am not able to access the development computer from my cell phone but if I enter the address of the images directy on the browser I can see them. Regarding the markup I havent modify the tab template at all.
So you started a tabs app using something similar to this: ionic start myApp tabs and then deployed it to a Samsung Galaxy and the external images (such as the ones on the chat tab) are giving 404 errors?
Issues with Crosswalk not loading external resources
Using the latest changes from Cordova Android 4.0.0, the Cordova team has removed the Whitelisting capabilities of cordova to now reside in a whitelist plugin
This plugin has not been released yet, but is required to allow whitelisting to work properly with Cordova android 4.0.