Skip to content

Commit

Permalink
modified for use in iOS simulator (no longer supported in simulator)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateo-kozomara committed Nov 27, 2017
1 parent 5e94e07 commit c661f05
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -236,7 +236,7 @@ package com.freshplanet.ane.AirNetworkInfo {
}

private static function get isIOS():Boolean {
return Capabilities.manufacturer.indexOf("iOS") > -1;
return Capabilities.manufacturer.indexOf("iOS") > -1 && Capabilities.os.indexOf("x86_64") < 0 && Capabilities.os.indexOf("i386") < 0;
}

private static function get isAndroid():Boolean {
Expand Down

0 comments on commit c661f05

Please sign in to comment.