Does anyone know the equivalent of iPhoneNetworkReachability for Android?
Cheers,
Josh
Does anyone know the equivalent of iPhoneNetworkReachability for Android?
Cheers,
Josh
Actually, that is the equivalent. ![]()
The API hasn’t translated for those methods, and iPhoneSettings.internetReachability will return the internet status on Androids too.
Thanks Erique,
Do you know if we can assume this for all the properties associated with the iPhone classes e.g. uniqueIdentifier?
If I’m not mistaken all of the iPhoneSettings properties should work, with the exception .name which doesn’t have an equivalent on Android.
So, yes, uniqueIdentifier should work but may return different types of values depending on what’s available (ie if the device has IEMI that will be returned, if not ANDROID_ID or wifi MAC address, and so on)
Great - thanks Erique.