{ "id": "166701", "key": "TIMOB-24517", "fields": { "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "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": "20033", "name": "Release 9.0.0", "archived": false, "released": true, "releaseDate": "2020-03-18" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2020-01-10T15:19:06.000+0000", "created": "2017-03-20T20:26:14.000+0000", "epic": { "id": 166684, "key": "TIMOB-24500", "name": "Implement Android N Support", "summary": "Android N: Implement support", "color": { "key": "color_8" }, "done": false }, "priority": { "name": "Low", "id": "4" }, "labels": [ "android", "apk", "sign" ], "versions": [], "issuelinks": [ { "id": "54601", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "162745", "key": "TIMOB-23803", "fields": { "summary": "Android N: Use APK Signature Scheme v2 for creating APK's", "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": "Medium", "id": "3" }, "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } }, { "id": "57866", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "outwardIssue": { "id": "150052", "key": "TIMOB-19300", "fields": { "summary": "Android: Change to use Gradle instead of Ant for build", "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": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false } } } } ], "assignee": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2020-01-10T15:19:06.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": "*Summary:*\r\nTitanium currently only supports signing with v1 signature scheme.\r\n\r\nWe should add v2 signing support, which can be verified on Android 7.0 and higher.\r\nhttps://source.android.com/security/apksigning/v2\r\n\r\nNote that an APK can be signed by both v1 and v2 at the same time. We still need v1 support for Android OS versions older than 7.0.\r\n\r\n*Note 1:*\r\nThis can be signed manually via Android SDK build tool \"apksigner\".\r\nhttps://developer.android.com/studio/command-line/apksigner\r\n\r\n*Note 2:*\r\nThe \"gradle\" build system automatically signs all built APKs with both v1 and v2. When we add \"gradle\" build support, then we get v2 signing for free.\r\n\r\n*Testing:*\r\nYou can verify which versioning schemes an APK has been signed with at the command line by doing the following...\r\n# Open the Mac \"Terminal\".\r\n# {{CD}} to directory: {{~/Library/Android/sdk/build-tools/}}\r\n# Enter: {{./apksigner verify -v }}\r\n# The tool will output something like the below. Make sure v2 is flagged {{true}}.\r\n{code}\r\nVerified using v1 scheme (JAR signing): true\r\nVerified using v2 scheme (APK Signature Scheme v2): true\r\nVerified using v3 scheme (APK Signature Scheme v3): false\r\n{code}\r\n", "attachment": [], "flagged": false, "summary": "Android: Add APK signature scheme v2 support", "creator": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "closedSprints": [ { "id": 1175, "state": "closed", "name": "2019 Sprint 26", "startDate": "2019-12-16T06:12:12.044Z", "endDate": "2019-12-21T06:12:00.000Z", "completeDate": "2019-12-22T03:07:15.802Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "413964", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "TIMOB-23803 ?", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-03-20T20:49:03.000+0000", "updated": "2017-03-20T20:49:03.000+0000" }, { "id": "420889", "author": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Using build-tools {{24+}} using https://developer.android.com/studio/command-line/apksigner.html will automatically use v2 signing when appropriate.\r\n\r\n{code}\r\napksigner sign --ks this.keystore --ks-pass pass:this.keystoreStorePassword app.apk\r\n{code}", "updateAuthor": { "name": "gmathews", "key": "gmathews", "displayName": "Gary Mathews", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-04T16:12:50.000+0000", "updated": "2017-06-04T16:12:50.000+0000" }, { "id": "453250", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Master: https://github.com/appcelerator/titanium_mobile/pull/11339", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-19T19:37:55.000+0000", "updated": "2019-12-19T19:37:55.000+0000" }, { "id": "453276", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "FR Passed.\r\nPR Merged.", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-12-20T23:58:47.000+0000", "updated": "2019-12-20T23:58:47.000+0000" }, { "id": "453634", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket, New feaure verified in SDK Version {{9.0.0.v20200109153329}}.\r\n\r\nTest and other information can be found at: \r\nhttps://github.com/appcelerator/titanium_mobile/pull/11339", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2020-01-10T15:19:00.000+0000", "updated": "2020-01-10T15:19:00.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }