{ "id": "174781", "key": "TIMOB-27788", "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": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2020-03-03T12:00:22.000+0000", "created": "2020-03-03T10:01:33.000+0000", "priority": { "name": "None", "id": "6" }, "labels": [], "versions": [ { "id": "20972", "description": "", "name": "Release 8.3.1", "archived": false, "released": true, "releaseDate": "2020-01-17" } ], "issuelinks": [], "assignee": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "updated": "2020-03-13T21:07:07.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": "h6.Reproduce\r\n1. Create a sample classic app.\r\n2. Replace app.js content with the attached app.js content.\r\n3. Run the app on an Android device.\r\n\r\nh6.Problem\r\nObserved an issue that we are not able to view switch properly if it is turned off in Android devices. Please find the attached screenshot for reference.", "attachment": [ { "id": "67290", "filename": "app.js", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2020-03-03T10:01:27.000+0000", "size": 367, "mimeType": "text/javascript" }, { "id": "67289", "filename": "switch_off.png", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2020-03-03T10:01:32.000+0000", "size": 32921, "mimeType": "image/png" }, { "id": "67288", "filename": "switch_on.png", "author": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "created": "2020-03-03T10:01:32.000+0000", "size": 34396, "mimeType": "image/png" } ], "flagged": false, "summary": " Android: Unable to view UI.Switch when it is turned off.", "creator": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "subtasks": [], "reporter": { "name": "sliang", "key": "sliang", "displayName": "Shuo Liang", "active": true, "timeZone": "Asia/Harbin" }, "environment": null, "closedSprints": [ { "id": 1181, "state": "closed", "name": "2020 Sprint 5", "startDate": "2020-03-02T18:45:02.513Z", "endDate": "2020-03-13T18:45:00.000Z", "completeDate": "2020-03-13T16:42:04.632Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "454507", "author": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "body": "[~sliang] this is expected behaviour, the colour of the switch is blending into the background, it can be overridden with an android theme.\r\n\r\n\r\nplatform/android/res/values/custom_themes.xml\r\n{noformat}\r\n\r\n\r\n\t\r\n\r\n{noformat}\r\n\r\nand add the theme in the android manifest in the tiapp.xml\r\n\r\n{noformat}\r\n\r\n{noformat}\r\n\r\n", "updateAuthor": { "name": "jlongton", "key": "jlongton", "displayName": "Josh Longton", "active": true, "timeZone": "Europe/London" }, "created": "2020-03-03T11:40:15.000+0000", "updated": "2020-03-03T11:42:37.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }