{ "id": "166779", "key": "TIMOB-24532", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "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": "18429", "description": "", "name": "Hyperloop 2.2.0", "archived": false, "released": true, "releaseDate": "2017-10-16" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2017-09-25T18:53:20.000+0000", "created": "2017-03-24T14:20:15.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [], "versions": [ { "id": "18246", "name": "Hyperloop 2.0.1", "archived": false, "released": true, "releaseDate": "2017-03-17" } ], "issuelinks": [ { "id": "54639", "type": { "id": "10000", "name": "Blocks", "inward": "is blocked by", "outward": "blocks" }, "inwardIssue": { "id": "144567", "key": "TIMOB-18565", "fields": { "summary": "Android: Support android *.aar libraries while building module", "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": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "updated": "2017-10-04T21:37:37.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" }, { "id": "13715", "name": "Hyperloop", "description": "Hyperloop project" } ], "description": "In TIMOB-18565 the android build is updated to be able to process Android Libraries from .aar files. This is currently also handled in the Hyperloop plugin but is redundant once the other ticket gets resolved, so it can be removed from the plugin. However, a few adjustments to the Android plugin for Hyperloop are are necessary:\r\n\r\n* Remove .aar processing from plugin.\r\n* Receive .jar list from builder instance. With TIMOB-18565 this list will already contain all .jar files from any .aar inside the project.", "attachment": [], "flagged": false, "summary": "Hyperloop: Android - Use .aar handling from AndroidBuilder", "creator": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "environment": null, "closedSprints": [ { "id": 920, "state": "closed", "name": "2017 Sprint 14 SDK", "startDate": "2017-07-02T16:29:41.455Z", "endDate": "2017-07-16T16:29:00.000Z", "completeDate": "2017-07-17T14:39:47.328Z", "originBoardId": 114 } ], "comment": { "comments": [ { "id": "419979", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~hansknoechel], i moved this to 2.1.1 because there is a bug when using Hyperloop together with the new override feature for Android Support Libraries introduced in TIMOB-24446. Hyperloop stores it's own copy all JARs that need to be added to the Java class path. This list changes between the time Hyperloop first reads it and then passes it back to the dexer, causing duplicate class issues.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-18T22:16:21.000+0000", "updated": "2017-05-18T22:16:37.000+0000" }, { "id": "420489", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "Moved back to 2.2.0 because i was able to solve the issues without the need for a new Hyperloop version.", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-05-26T10:00:28.000+0000", "updated": "2017-05-26T10:00:28.000+0000" }, { "id": "427591", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "PR: https://github.com/appcelerator/hyperloop.next/pull/206", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-09-05T15:54:00.000+0000", "updated": "2017-09-05T15:54:00.000+0000" }, { "id": "428697", "author": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "body": "[~lchoudhary], you can perform the following steps to verify this:\r\n\r\n*Test case 1: Project JAR Libraries*\r\n- Run the hyperloop-examples project and check that the HTTP Request completes successfully. This uses a .jar file in the project's {{app/platform/android}} folder\r\n\r\n*Test case 2: Project Android Libraries*\r\n- Run the hyperloop-examples project and make sure the third-party Shimmer view open correctly. This uses an .aar file in the project's {{app/platform/android}} folder\r\n\r\n*Test case 3: Module Android Libraries*\r\n- Download the Facebook module: https://github.com/appcelerator-modules/ti.facebook/releases/tag/android-6.3.0\r\n- Place the module inside a test app and enable it in your tiapp.xml\r\n- Add the following to the custom manifest to tiapp.xml. This uses a dummy app id, causing an error to be displayed later on in the share dialog, which can be ignored.\r\n{code}\r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n{code}\r\n- Open a Facebook share dialog via Hyperloop.\r\n{code}\r\nvar Activity = require('android.app.Activity');\r\nvar ShareDialog = require('com.facebook.share.widget.ShareDialog');\r\nvar ShareDialogMode = require('com.facebook.share.widget.ShareDialog.Mode');\r\nvar ShareLinkContent = require('com.facebook.share.model.ShareLinkContent');\r\nvar Uri = require('android.net.Uri');\r\nvar shareContent = new ShareLinkContent.Builder()\r\n .setContentUrl(Uri.parse('http://www.appcelerator.com/'))\r\n .build();\r\nvar shareDialog = new ShareDialog(new Activity(Ti.Android.currentActivity));\r\nshareDialog.show(shareContent, ShareDialogMode.AUTOMATIC);\r\n{code}", "updateAuthor": { "name": "jvennemann", "key": "jvennemann", "displayName": "Jan Vennemann", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-10-04T11:45:40.000+0000", "updated": "2017-10-04T11:45:53.000+0000" }, { "id": "428714", "author": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Verified the fix.\r\n\r\nUsed the tests above to verify.\r\n\r\nStudio Ver: 4.10.0.201709271713\r\nSDK Ver: 6.2.2.GA\r\nOS Ver: 10.12.3\r\nXcode Ver: Xcode 8.3.3\r\nAppc NPM: 4.2.9\r\nAppc CLI: 6.2.4\r\nTi CLI Ver: 5.0.14\r\nAlloy Ver: 1.9.14\r\nNode Ver: 7.10.1\r\nJava Ver: 1.8.0_101\r\nDevices: ⇨ google Nexus 5 --- Android 6.0.1\r\n ⇨ google Pixel --- Android 7.1.1\r\nHyperloop: 2.2.0RC2", "updateAuthor": { "name": "lchoudhary", "key": "lchoudhary", "displayName": "Lokesh Choudhary", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-10-04T21:37:21.000+0000", "updated": "2017-10-04T21:37:21.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }