{ "id": "165078", "key": "TIMOB-24246", "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": "17608", "name": "Release 6.1.0", "archived": false, "released": true, "releaseDate": "2017-05-26" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-01-04T19:25:12.000+0000", "created": "2016-12-20T19:19:06.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-01-26T18:01:35.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": "A [SecureRandom|https://developer.android.com/reference/java/security/SecureRandom.html] instance should be set in the constructor of [SSLContext|https://developer.android.com/reference/javax/net/ssl/SSLContext.html], instead of the default implementation.", "attachment": [], "flagged": false, "summary": "Android: Use SecureRandom for SSLContext", "creator": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 787, "state": "closed", "name": "2017 Sprint 01 SDK", "startDate": "2016-12-31T02:15:33.446Z", "endDate": "2017-01-14T02:15:00.000Z", "completeDate": "2017-01-15T00:00:19.006Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "403694", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "master: https://github.com/appcelerator/titanium_mobile/pull/8704", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-12-20T19:24:00.000+0000", "updated": "2016-12-20T19:24:00.000+0000" }, { "id": "405289", "author": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] Any chance you could make a test case for me to verify this ? ", "updateAuthor": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-25T19:05:35.000+0000", "updated": "2017-01-25T19:05:35.000+0000" }, { "id": "405369", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~awaldman] Yes, check that HTTPS works (y)\r\n\r\n{code:js}\r\nvar http = Ti.Network.createHTTPClient({\r\n onload: function () {\r\n Ti.API.info('response: ' + this.responseText);\r\n Ti.API.info('success');\r\n }\r\n});\r\nhttp.open('GET', 'https://httpbin.org/get');\r\nhttp.send();\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-26T11:55:16.000+0000", "updated": "2017-01-26T11:55:16.000+0000" }, { "id": "405403", "author": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "[~gmathews] Thank you!!", "updateAuthor": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-26T17:56:10.000+0000", "updated": "2017-01-26T17:56:10.000+0000" }, { "id": "405405", "author": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Thursday 26th January: \r\nENV:\r\nMacOS:10.12.1 \r\nXCODE: 8.2.1 GM (golden master) \r\nAPPC CLI Core: 6.1.0 \r\nAPPC CLI NPM: 4.2.8 \r\nSDK: 6.1.0.v20170126073441\r\nStudio build: 4.8.1.201612050850 \r\nNPM: 2.15.9 \r\nNode: 4.5.0 \r\nDevice: Google Pixel \r\nAndroid Version: 7.1\r\n\r\nStep 1) Make classic app\r\nStep 2) Copy the following code into the app.js:\r\n\r\n{code:java}\r\nvar http = Ti.Network.createHTTPClient({\r\n onload: function () {\r\n Ti.API.info('response: ' + this.responseText);\r\n Ti.API.info('success');\r\n }\r\n});\r\nhttp.open('GET', 'https://httpbin.org/get');\r\nhttp.send();\r\n{code}\r\n\r\nStep 3) Run app and wait for response \r\nStep 4) successful response returned:\r\n\r\n{code:java}\r\n[INFO] : response: {\"args\": {}, \"headers\": {\"Accept-Encoding\": \"identity\", \"Host\": \"httpbin.org\", \"User-Agent\": \"Appcelerator Titanium/6.1.0 (Pixel; Android API Level: 25; en-US;)\", \"X-Requested-With\": \"XMLHttpRequest\", \"X-Titanium-Id\": \"cffa3bb1-e804-48ca-9eee-16bd32c2a01d\"}, \"origin\": \"96.90.253.33\", \"url\": \"https://httpbin.org/get\"}\r\n[INFO] : success\r\n{code}\r\n\r\nI have verified that this works as of the current 6.1.0 SDK build and so will close the ticket ", "updateAuthor": { "name": "awaldman", "key": "awaldman", "displayName": "Andy Waldman", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-26T18:01:18.000+0000", "updated": "2017-01-26T18:01:18.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }