{ "id": "163520", "key": "MOD-2300", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10034", "key": "MOD", "name": "Appcelerator Modules", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "17524", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-14" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2016-09-29T07:16:27.000+0000", "created": "2016-09-28T13:08:55.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "iOS9", "qe-6.0.0", "safaridialog" ], "versions": [ { "id": "17524", "name": "Release 6.0.0", "archived": false, "released": true, "releaseDate": "2016-11-14" } ], "issuelinks": [ { "id": "52817", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "163073", "key": "MOD-2296", "fields": { "summary": "iOS10: Ti.SafariDialog - tintColor on iOS 10 broken, new barColor property available", "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" } }, "priority": { "name": "Critical", "id": "1" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2016-09-29T15:09:55.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": "14801", "name": "SafariDialog", "description": "ti.safaridialog" } ], "description": "The fix made for MOD-2296 subsequently broke {{tintColor}} for iOS9. Switching the ti.safaridialog module version from 1.1.0 -> 1.0.5 resolves the issue. \r\n\r\nh3. TEST CODE:\r\n{code:java}\r\nvar safari = require('ti.safaridialog');\r\n \r\nvar win = Ti.UI.createWindow({\r\n backgroundColor: 'white'\r\n})\r\n\r\nvar btn = Ti.UI.createButton({\r\n title: \"Open safari dialog\"\r\n});\r\n \r\nbtn.addEventListener(\"click\", function() {\r\n safari.open({\r\n url:\"http://google.com\",\r\n title:\"Hello World\",\r\n tintColor:\"red\",\r\n //barColor:\"red\"\r\n });\r\n});\r\n \r\nsafari.addEventListener(\"load\", function(e) {\r\n var pageurl = e.url;\r\n var success = e.success;\r\n Ti.API.warn(pageurl + ' loaded with success value ' + success);\r\n});\r\n \r\nwin.add(btn);\r\nwin.open();\r\n{code}\r\n\r\nh2. Steps to Reproduce\r\n1. Create a classic mobile application\r\n2. Add ti.safaridialog (1.1.0) to project.\r\n3. Use above test code in app.js\r\n4. Launch app on iOS9 device / sim\r\n\r\nh2. Expected Result \r\n\r\n\"Done\" Button and bottom toolbar icons should be Red.\r\n\r\nh2. Actual Result\r\n\r\n\"Done\" Button and bottom toolbar icons remain as default. (blue)", "attachment": [], "flagged": false, "summary": "Ti.SafariDialog: tintColor does not work on iOS 9", "creator": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "subtasks": [], "reporter": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "environment": "iPhone 5S 9.3.5 Device & Simulator\r\nti.safaridialog (1.1.0)\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 6.0.0.v20160927221257\r\nAppc Studio: 4.8.0.201609232005\r\nAppc NPM: 4.2.8-7\r\nApp CLI: 6.0.0-54\r\nXcode 8.0 \r\nNode v4.4.7", "closedSprints": [ { "id": 722, "state": "closed", "name": "2016 Sprint 20 SDK", "startDate": "2016-09-28T16:50:17.299Z", "endDate": "2016-10-12T16:50:00.000Z", "completeDate": "2016-10-10T06:17:01.016Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "397503", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator-modules/ti.safaridialog/pull/10\r\n\r\nPR (master): https://github.com/appcelerator/titanium_mobile/pull/8439\r\nPR (6_0_X): https://github.com/appcelerator/titanium_mobile/pull/8440", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-28T13:19:31.000+0000", "updated": "2016-09-28T13:19:31.000+0000" }, { "id": "397604", "author": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "body": "[~hansknoechel] I think it'll be easier to track if we bump a patch version ie. 1.1.1. Sorry for the trouble.", "updateAuthor": { "name": "cng", "key": "cng", "displayName": "Chee Kiat Ng", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2016-09-29T06:47:22.000+0000", "updated": "2016-09-29T06:47:22.000+0000" }, { "id": "397607", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR's updated", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-09-29T07:01:02.000+0000", "updated": "2016-09-29T07:01:02.000+0000" }, { "id": "397638", "author": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "body": "Verified as fixed, using safaridialog module (1.1.1) tintColor now works correctly on iOS9.\r\n\r\nTested On:\r\niPhone 5S 9.3.5 Device & Simulator\r\nMac OSX El Capitan 10.11.6\r\nTi SDK: 6.0.0.v20160929031439\r\nAppc Studio: 4.8.0.201609232005\r\nAppc NPM: 4.2.8-7\r\nApp CLI: 6.0.0-54\r\nXcode 8.0 \r\nNode v4.4.7\r\n\r\n*Closing ticket.*\r\n", "updateAuthor": { "name": "htbryant", "key": "htbryant", "displayName": "Harry Bryant", "active": true, "timeZone": "Europe/London" }, "created": "2016-09-29T15:09:17.000+0000", "updated": "2016-09-29T15:09:17.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }