{ "id": "166646", "key": "TIMOB-24492", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [], "resolution": { "id": "11", "description": "Is not a bug in our product", "name": "Not Our Bug" }, "resolutiondate": "2018-12-11T09:51:05.000+0000", "created": "2017-03-16T21:17:34.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [ "macaddress" ], "versions": [ { "id": "18928", "name": "Release 6.0.2", "archived": false, "released": true, "releaseDate": "2017-02-27" } ], "issuelinks": [], "assignee": null, "updated": "2018-12-11T09:51:05.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "Hello, \r\nI am testing the below code as a sample. Ti.Platform.macaddress returns wrong value.\r\n{code}\r\nvar win = Ti.UI.createWindow({\r\n\r\n theme : \"Theme.AppCompat.Fullscreen\",\r\n\r\n backgroundColor : '#fff'\r\n\r\n});\r\n\r\nvar macAddress = Ti.Platform.macaddress;\r\n\r\nvar btn = Ti.UI.createButton({\r\n\r\ntitle : 'Pick',\r\n\r\ntop : 50,\r\n\r\n});\r\n\r\nbtn.addEventListener('click', function() {\r\n\r\n Ti.API.info(\"macaddress: \"+ macAddress);\r\n\r\n});\r\n\r\nwin.add(btn);\r\n\r\nwin.open();\r\n{code}\r\n\r\nThe response is \r\n\r\n{code}\r\n [INFO] macaddress: 02:00:00:00:00:00\r\n{code}\r\n\r\nWhich is not current. Tested with Galaxy j7 Android 6.0.1. Thanks.", "attachment": [], "flagged": false, "summary": "Android: Ti.Platform.macaddress returns wrong value in Android 6. Tested with SDK 6.0.1.GA.", "creator": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "subtasks": [], "reporter": { "name": "sdarda", "key": "sdarda", "displayName": "Sharif AbuDarda", "active": false, "timeZone": "Asia/Dhaka" }, "environment": null, "comment": { "comments": [ { "id": "420116", "author": { "name": "programlama@akinsoft.com.tr", "key": "programlama@akinsoft.com.tr", "displayName": "Ercan POLAT", "active": true, "timeZone": "Europe/Helsinki" }, "body": "Facing with the same issue on Android 7.0 and 6.0. There is no problem on Android 5.x. Tested with sdks 5.2.2.GA & 6.0.3.GA & 6.0.4.GA.", "updateAuthor": { "name": "programlama@akinsoft.com.tr", "key": "programlama@akinsoft.com.tr", "displayName": "Ercan POLAT", "active": true, "timeZone": "Europe/Helsinki" }, "created": "2017-05-22T13:28:22.000+0000", "updated": "2017-05-22T14:29:48.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }