[TIMOB-2215] Android: Titanium.Platform.address returns "null" on G1 and "undefined" on a G2
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Needs more info |
Resolution Date | 2011-04-15T03:13:45.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | Android |
Labels | n/a |
Reporter | Thomas Huelbert |
Assignee | Eric Merriman |
Created | 2011-04-15T03:13:44.000+0000 |
Updated | 2017-05-03T17:56:14.000+0000 |
Description
G2 (2.2) G1 (1.6) TiMobile SDK 1.5.0.add5e1
1.Platform> Platform Data
2.check the noted values
G1(1.4.1.1) - null, G2, undefined (1.5.0)
Comments
- Don Thorp 2011-04-15
I'm assuming you had wifi connected? Just want to double check.
- Thomas Huelbert 2011-04-15
That is correct, wifi was go.
- julian 2011-04-15
this method is not implemented on PlatformModule,
the definition is
address string
the ip address that the device reports (only applicable on WIFI network) - Paul Dowsett 2012-02-18
I have tested this, and it works fine on the HTC Sensation. Please would soemone with a G1 and G2 try this?
Environment
* Titanium 1.8.1 * v8 * HTC Sensation running Android 2.3.4Test case
Ti.API.info('Ti.Platform.address: ' + Ti.Platform.address);
Logs
I/TiAPI (27319): Ti.Platform.address: 192.168.1.100
- Lee Morris 2017-05-03 Closing this ticket due to the lack of information provided and the lack of activity.