Quantcast
Channel: Adobe Community : All Content - AIR Development
Viewing all articles
Browse latest Browse all 2954

AIR 20.0.0.233 URLMonitor broken with iOS 9 ?

$
0
0

Hi everyone,

 

I am currently working on an app using Adobe Air, and as I was about to publish it, I tried to update my Air version (19) to the last one, and re-test the entire app.

 

And by doing this I noticed that something is now wrong with the URLMonitor.

I am using it to test my connection, as following :

 

monitor = new URLMonitor(new URLRequest(http://www.adobe.com));

ListenerMgr.addListener(monitor, StatusEvent.STATUS, function (evt:StatusEvent):void {

   trace("Network status changed, connected ? " + monitor.available);

   _isHTTPConnected = monitor.available;

});

if (!monitor.running) {

   monitor.start();

}

 

That code always worked before the Air update, and is still working on Android 4.4.4, iOS 8 and all simulators, but when I launch it on an iOS 9 device (9.1, 9.2, ...), monitor.available is ALWAYS false.

 

Could you please tell me if this is a real issue or if I missed something ment to replace that monitor ?

 

Thank you!


Viewing all articles
Browse latest Browse all 2954

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>