{ "id": "133680", "key": "TIMOB-17391", "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": [], "resolution": null, "resolutiondate": null, "created": "2014-07-24T21:23:05.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "cb-tooling" ], "versions": [], "issuelinks": [ { "id": "49596", "type": { "id": "10003", "name": "Relates", "inward": "relates to", "outward": "relates to" }, "inwardIssue": { "id": "149117", "key": "TIMOB-19069", "fields": { "summary": "IOS9: App thinning: Support on-demand resources for app thinning", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "2", "description": "A new feature of the product, which has yet to be developed.", "name": "New Feature", "subtask": false } } } } ], "assignee": null, "updated": "2018-02-28T20:04:27.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "If your application is over 50MB, you can publish additional \"expansion\" files to the Google Play Store.\r\n\r\nhttp://developer.android.com/google/play/expansion-files.html\r\n\r\nPeople have asked for this functionality before in Q & A. See:\r\n\r\n* https://developer.appcelerator.com/question/176459/android-apk-expansion-files\r\n* https://developer.appcelerator.com/question/134685/android-apk-expansion-pack\r\n* http://developer.appcelerator.com/question/134202/android-market-apk-changes\r\n* https://developer.appcelerator.com/question/164165/will-titanium-support-adding-apk-expansion-files\r\n", "attachment": [], "flagged": false, "summary": "Android: Support APK expansion files", "creator": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "ingo", "key": "ingo", "displayName": "Ingo Muschenetz", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "322263", "author": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "body": "Available here:-\r\n\r\nhttps://github.com/jasonkneen/TiExpansionFiles\r\n\r\nWith example expansion files, example app.js - supports background downloads, direct file access without unzipping etc.", "updateAuthor": { "name": "jasonkneen", "key": "jasonkneen", "displayName": "Jason Kneen", "active": true, "timeZone": "Europe/London" }, "created": "2014-09-08T08:42:38.000+0000", "updated": "2014-09-08T08:42:38.000+0000" }, { "id": "366456", "author": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Jason,\r\n\r\nThanks for the module, it is very useful. The problem is that with android version 5.0 or 5.1 I am getting this error:\r\n\r\njava.lang.IllegalArgumentException: Service Intent must be explicit: Intent { act=com.android.vending.licensing.ILicensingService }\r\n\r\nThe solution appears to be simple, just calling this line after initializing the intent:\r\n\r\nserviceIntent.setPackage(\"com.android.vending\");\r\n\r\nDo you think it is possible to fix the module or share the code?\r\n\r\nThanks!\r\n\r\n\r\n", "updateAuthor": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-11T12:30:36.000+0000", "updated": "2015-10-11T12:30:36.000+0000" }, { "id": "399369", "author": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "body": "@RicardoArguello, did you resolve this issue, or find an alternative solution? Thanks.", "updateAuthor": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-19T14:56:51.000+0000", "updated": "2016-10-19T14:58:28.000+0000" }, { "id": "399385", "author": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Osian,\r\n\r\nI ended up creating my own module for handling Expansion Files.", "updateAuthor": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T17:03:55.000+0000", "updated": "2016-10-19T17:03:55.000+0000" }, { "id": "399390", "author": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "body": "Do you have it available as a marketplace module or an open project?\r\n\r\nHave contacted and am waiting to hear back from Jason.", "updateAuthor": { "name": "oshevans", "key": "oshevans", "displayName": "Osian Evans", "active": true, "timeZone": "Europe/London" }, "created": "2016-10-19T17:35:27.000+0000", "updated": "2016-10-19T17:35:27.000+0000" }, { "id": "399411", "author": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Osian, please contact me at my email...", "updateAuthor": { "name": "ricardoarguellojr", "key": "ricardoarguellojr", "displayName": "Ricardo Arguello", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-10-19T22:46:48.000+0000", "updated": "2016-10-19T22:46:48.000+0000" }, { "id": "400455", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "If I get the [APK Expansion Files|https://developer.android.com/google/play/expansion-files.html] page correctly, it is nothing that we must support with our SDK, but something that the user can package using the [JOBB Tool|https://developer.android.com/studio/command-line/jobb.html]. We may need an adjustment in our {{Ti.Filesystem}} to handle the downloaded {{.obb}}, but that should be pretty straight forward. \r\n\r\nSo if someone could do a PoC, we could help by doing a blog post about the single steps.\r\n\r\n*EDIT*: More thoughts in TIMOB-19069", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2016-11-05T21:03:24.000+0000", "updated": "2016-11-06T15:12:13.000+0000" }, { "id": "404295", "author": { "name": "jorge.leonor", "key": "jorge.leonor", "displayName": "Jorge Leonor", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Appcelerator SDK has a module to generate expansion files?\r\n\r\nThe Module TIExpansionFiles (https://github.com/appcelerator-forks/_jasonkneen.TiExpansionFiles) don´t work for SDK 6.0.0 GA.\r\n\r\nI am investigating some module similar to this, but there is nothing to generate APK with expansion files. My APK is greater than 100 MB and I ran out of form to generate the APK. Any idea how to fix this?\r\n\r\nI think a module of this kind should be a priority.\r\n\r\nThanks for the support.", "updateAuthor": { "name": "jorge.leonor", "key": "jorge.leonor", "displayName": "Jorge Leonor", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-01-09T17:26:09.000+0000", "updated": "2017-01-09T17:26:09.000+0000" }, { "id": "422176", "author": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "body": "Quick update here: {{[Ti.ExpansionFiles|https://github.com/jasonkneen/TiExpansionFiles]}} was updated to support SDK 6.0.0+ last recently, you should try it out. [~jquick] would it make sense to include that in the core? Trying to keep it more slim in general.", "updateAuthor": { "name": "hknoechel", "key": "hansknoechel", "displayName": "Hans Knöchel", "active": true, "timeZone": "Europe/Berlin" }, "created": "2017-06-16T18:37:27.000+0000", "updated": "2017-06-16T18:37:27.000+0000" }, { "id": "422434", "author": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Adding expansion file support to the core would definitely have its advantages. The current module appears to provide expansion file data via blobs, which would be expensive for large files. An integrated version can avoid that.\r\n\r\nBut we would have to support 2 things first:\r\n# We would need to add Google Licensing support (aka: Google LVL) to the core as well in order to download the expansion file... or at least require it as a module to work. This is because Google Play does not always automatically download it and we need licensing to acquire a temporary download URL once verified that the app was acquired legally.\r\n# We would also need a new API/scheme to identify which Android app store we're targeting. This is because Google expansion files and licensing is a feature of the Google Play app store. It isn't relevant to other app stores such as Amazon, Samsung, etc.", "updateAuthor": { "name": "jquick", "key": "jquick", "displayName": "Joshua Quick", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2017-06-21T01:42:52.000+0000", "updated": "2017-06-21T01:42:52.000+0000" } ], "maxResults": 13, "total": 13, "startAt": 0 } } }