{ "id": "152875", "key": "TIMOB-19905", "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": [ { "id": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2015-11-10T18:00:05.000+0000", "created": "2015-11-10T15:59:14.000+0000", "priority": { "name": "High", "id": "2" }, "labels": [ "ios", "safaridialog", "supported" ], "versions": [], "issuelinks": [ { "id": "49702", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "152872", "key": "TIMOB-19906", "fields": { "summary": "iOS: SafariDialog close event crash", "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": "2015-11-20T17:17:38.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "The following code:\r\n\r\n{code:javascript}\r\nvar dialog = require('ti.safaridialog');\r\n\r\nTi.API.info('ti.safaridialog.supported ' + dialog.supported);\r\nTi.API.info('ti.safaridialog.getSupprted() ' + dialog.getSupported());\r\nTi.API.info('ti.safaridialog.isSupported() ' + dialog.isSupported());\r\n{code}\r\n\r\nWill print:\r\n\r\n{code}\r\n[INFO] ti.safaridialog.supported false\r\n[INFO] ti.safaridialog.getSupprted() false\r\n[INFO] ti.safaridialog.isSupported() false\r\n{code}\r\n\r\nSo the example in the docs will fail. The only workaround is to manually check the device's iOS version (or it will crash on older devices if you leave out the check)", "attachment": [], "flagged": false, "summary": "iOS: SafariDialog's supported is false on iOS 9.1", "creator": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "subtasks": [], "reporter": { "name": "fokkezb", "key": "fokke", "displayName": "Fokke Zandbergen", "active": true, "timeZone": "Europe/Amsterdam" }, "environment": "SDK 5.1.0.RC (5.1.0.v20151104190037)\r\niOS Simulator 9.1", "closedSprints": [ { "id": 525, "state": "closed", "name": "2015 Sprint 23 SDK", "startDate": "2015-11-07T01:30:15.519Z", "endDate": "2015-11-21T01:30:00.000Z", "completeDate": "2015-11-23T02:54:27.887Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "369565", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Fixed as part of TIMOB-19906", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2015-11-10T18:00:05.000+0000", "updated": "2015-11-10T18:00:05.000+0000" }, { "id": "369595", "author": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as fixed. Verified fix in TIMOB-19906.", "updateAuthor": { "name": "wluu", "key": "wluu", "displayName": "Wilson Luu", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2015-11-10T20:24:09.000+0000", "updated": "2015-11-10T20:24:09.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }