[AC-1965] iOS7: iPhone 4S mobile data only reports no data connection
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2013-11-20T01:23:12.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | 4s, data, dev-investigate, ios7, network |
Reporter | Martin Williamson |
Assignee | Mauro Parra-Miranda |
Created | 2013-11-18T15:11:57.000+0000 |
Updated | 2016-03-08T07:40:54.000+0000 |
Description
Using
if (Titanium.Network.networkType === Titanium.Network.NETWORK_NONE) {
return false;
}
else {
return true;
}
or
if (Titanium.Network.online) {
return true;
}
else {
return false;
}
Always returns false on the iPhone 4S running iOS 7
Functions as expected on iPhone 5 on iOS 7 and Android.
Which Titanium SDK version are you using?
Titanium Studio, build: 3.1.4.201310171935 Titanium SDK 3.1.3.GA Sorry forgot to add this initially
none issue, someone had disabled data for the app specifically in settings on the development phone, so sorry
Tested with iPhone 4S and iOS 7.0.4 Cannot reproduce:
Used this code:
Closed as per Martin's comment about disabling the data in the device.