[TIMOB-14442] BlackBerry: Network status returns undefined
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2013-09-19T18:48:46.000+0000 |
Affected Version/s | Release 3.1.1 |
Fix Version/s | Release 3.2.0 |
Components | BlackBerry |
Labels | blackberry, connection, network, qe-testadded, status |
Reporter | Michael DeGiovanni |
Assignee | Pedro Enrique |
Created | 2013-06-28T12:06:41.000+0000 |
Updated | 2014-02-20T00:44:42.000+0000 |
Description
*Problem*
When connected to a wifi/network the network type does not return the correct status. Both of the following return undefined:
*Sample code*
Ti.API.log(Ti.Network.networkType);
Ti.API.log(Ti.Network.networkTypeName);
PR: https://github.com/appcelerator/titanium_mobile_blackberry/pull/138
Ti.Network.neyworkType and networkTypeName returns the required value. Does not return undefined. Hence verified and closing as working as expected. Tested Environment: Appcelerator Studio: 3.2.0.201311120707 SDK:3.2.0.v20131111174605 alloy: 1.3.0 acs: 1.0.7 npm: 1.3.2 titanium: 3.2.0 titanium-code-processor: 1.0.3 Xcode:5.0.1 Device: Blackeberry Z 10 OS: Mac OSX 10.9 BB OS 10.0.10.261