Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-7859

iOS: Ti.platform.macaddress returning UUID

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Fix
    • Affects Version/s: Release 2.0.0
    • Fix Version/s: None
    • Component/s: iOS
    • Labels:
      None
    • Environment:

      Ti SDK 1.9.0
      iOS Sim
      iPad 2 4.3.5

      Description

      Ti.platform.macaddress returns UUID

      var window = Ti.UI.createWindow();
      var view = Ti.UI.createView({
      	backgroundColor:'white'
      });
      window.add(view);
      window.open();
       
      var macAddress = Ti.Platform.macaddress;
       
      var label = Ti.UI.createLabel({
      	text:'macAddress \n' + macAddress,
      	top:-100,
      	left:20
      })
      view.add(label);
       
       
      var uUID = Ti.Platform.id;
       
      var label2 = Ti.UI.createLabel({
      	text:'UUID \n' + uUID,
      	top:100,
      	left:20
      })
      view.add(label2);
      

      Steps to reproduce;
      Run the code.

      Result;
      Ti.platform.macaddress and Ti.platform.id return UUID

      Expected;
      Ti.platform.macaddress should return Mac Address

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stephentramer Stephen Tramer
                Reporter:
                ihowarth Ian Howarth
              • Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Backbone Issue Sync

                  • Titanium SDK/CLI <> Titanium Mobile
                    Synced with:
                    TIMOB-12273
                    Sync status:
                    ERROR
                    Last received:
                    Last sent:

                    Git Source Code