{ "id": "88491", "key": "TIMOB-8188", "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": [], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2012-03-23T13:17:26.000+0000", "created": "2012-03-22T11:22:11.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "look1" ], "versions": [ { "id": "13070", "description": "Release 1.8 Service Pack 2", "name": "Release 1.8.2", "archived": true, "released": true, "releaseDate": "2012-02-29" } ], "issuelinks": [], "assignee": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-20T22:02:47.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": "h4. Problem Description\r\nAfter you compile your program to a device, you will get an apk. If you unzip if, you will be able to find the Resources directory, with the source code in clear.\r\n\r\nh4. Actual Results\r\nThe source code is included in the apk. If you copy that to a new project, you will be able to clone it.\r\n\r\nh4. Expected results\r\nWhen distributing, the source code should be either bytecompiled or scrambled.\r\n\r\nh4. Test case\r\n1. Create a new mobile project.\r\n2. Compile it.\r\n3. unzip the apk.\r\n\r\n", "attachment": [], "flagged": false, "summary": "Android: The produced APK includes the source code of the app in clear", "creator": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "subtasks": [], "reporter": { "name": "mpmiranda", "key": "mpmiranda", "displayName": "Mauro Parra-Miranda", "active": true, "timeZone": "America/Mexico_City" }, "environment": "Titanium SDK version: 1.8.2 \r\nJavascript Engine: V8 \r\nPlatform & version: Android 2.2 \r\nDevice Details: Android Samsung T499 \r\nHost Operating System: OSX 10.7.3 \r\nTitanium Studio version: 1.0.9", "comment": { "comments": [ { "id": "188131", "author": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Mauro - Can you see the source code with the production build?", "updateAuthor": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-22T22:03:31.000+0000", "updated": "2012-03-22T22:03:31.000+0000" }, { "id": "188165", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "@Mauro we only encode / compile the source when the application is bundled in distribution mode. Is that what you are testing here? Simply sending to device is not the same", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2012-03-23T06:10:22.000+0000", "updated": "2012-03-23T06:10:22.000+0000" }, { "id": "188357", "author": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "body": "reported behavior unable to reproduce with building a app for distribution. closing", "updateAuthor": { "name": "opiecyrus", "key": "opiecyrus", "displayName": "Opie Cyrus", "active": true, "timeZone": "America/Chicago" }, "created": "2012-03-23T13:17:17.000+0000", "updated": "2012-03-23T13:17:17.000+0000" }, { "id": "414034", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing ticket as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-20T22:02:47.000+0000", "updated": "2017-03-20T22:02:47.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }