Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2215] Android: Titanium.Platform.address returns "null" on G1 and "undefined" on a G2

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionNeeds more info
Resolution Date2011-04-15T03:13:45.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsAndroid
Labelsn/a
ReporterThomas Huelbert
AssigneeEric Merriman
Created2011-04-15T03:13:44.000+0000
Updated2017-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

  1. Don Thorp 2011-04-15

    I'm assuming you had wifi connected? Just want to double check.

  2. Thomas Huelbert 2011-04-15

    That is correct, wifi was go.

  3. 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)

  4. 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.4

    Test case

       Ti.API.info('Ti.Platform.address: ' + Ti.Platform.address);
       

    Logs

       I/TiAPI   (27319): Ti.Platform.address: 192.168.1.100
       
  5. Lee Morris 2017-05-03

    Closing this ticket due to the lack of information provided and the lack of activity.

JSON Source