network.download and display.loadRemoteImage not working on iOS. Works fine in simulator

I’m downloading images with either network.download and display.loadRemoteImage, and neither working on any of my iOS devices (and the XCode simulator). They work fine in the simulator.

It does this for me on both the public build (2731), and latest daily build (2802).

My listener function is returning event.isError immediately. The images are not loading at all. It does this with even the simplest example in the Corona Documentation

Is there something I’m doing wrong? network.request works fine.

local function networkListener( event ) if ( event.isError ) then print ( "Network error - download failed" ) else event.target.alpha = 0 transition.to( event.target, { alpha = 1.0 } ) end print ( "event.response.fullPath: ", event.response.fullPath ) print ( "event.response.filename: ", event.response.filename ) print ( "event.response.baseDirectory: ", event.response.baseDirectory ) end display.loadRemoteImage( "http://coronalabs.com/images/coronalogogrey.png", "GET", networkListener, "coronalogogrey.png", system.TemporaryDirectory, 50, 50 )

Just wanted to update that it suddenly started working. I’m not sure what happened or what caused it. After making a new build the next day, it started to work.

Edit: Found out it was because iOS 9 requires all requests to use HTTPS. I wasn’t downloading my images from a secure source. After resolving that, this issue no longer appears. 

Just wanted to update that it suddenly started working. I’m not sure what happened or what caused it. After making a new build the next day, it started to work.

Edit: Found out it was because iOS 9 requires all requests to use HTTPS. I wasn’t downloading my images from a secure source. After resolving that, this issue no longer appears.