mirror of
https://gitee.com/shuto/cordova-plugin-network-information.git
synced 2025-01-18 21:52:48 +08:00
CB-6350 - Fix networkStatusForFlags return value type to work with 64-bit iOS
(closes #8) Signed-off-by: Shazron Abdullah <shazron@apache.org>
This commit is contained in:
parent
e437369c57
commit
e0d3ae00b7
@ -205,7 +205,7 @@ static void CDVReachabilityCallback(SCNetworkReachabilityRef target, SCNetworkRe
|
||||
return NotReachable;
|
||||
}
|
||||
|
||||
BOOL retVal = NotReachable;
|
||||
NetworkStatus retVal = NotReachable;
|
||||
|
||||
if ((flags & kSCNetworkReachabilityFlagsConnectionRequired) == 0) {
|
||||
// if target host is reachable and no connection is required
|
||||
|
Loading…
Reference in New Issue
Block a user