Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-8188] Android: The produced APK includes the source code of the app in clear

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionInvalid
Resolution Date2012-03-23T13:17:26.000+0000
Affected Version/sRelease 1.8.2
Fix Version/sn/a
ComponentsAndroid
Labelslook1
ReporterMauro Parra-Miranda
AssigneeMarshall Culpepper
Created2012-03-22T11:22:11.000+0000
Updated2017-03-20T22:02:47.000+0000

Description

Problem Description

After 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.

Actual Results

The source code is included in the apk. If you copy that to a new project, you will be able to clone it.

Expected results

When distributing, the source code should be either bytecompiled or scrambled.

Test case

1. Create a new mobile project. 2. Compile it. 3. unzip the apk.

Comments

  1. Neeraj Gupta 2012-03-22

    @Mauro - Can you see the source code with the production build?
  2. Marshall Culpepper 2012-03-23

    @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
  3. Opie Cyrus 2012-03-23

    reported behavior unable to reproduce with building a app for distribution. closing
  4. Lee Morris 2017-03-20

    Closing ticket as invalid.

JSON Source