Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-15647] Android: CLI: Incremental builds causes js files to be included in encrypted builds

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-11-04T09:26:52.000+0000
Affected Version/sn/a
Fix Version/s2013 Sprint 23, 2013 Sprint 23 Core, Release 3.2.0
ComponentsAndroid, CLI
Labelscli, module_android, qe-closed-3.2.0, qe-manualtest, qe-testadded
ReporterAllen Yeung
AssigneeChris Barber
Created2013-11-03T05:38:19.000+0000
Updated2014-11-19T19:20:17.000+0000

Description

Steps to reproduce: 1. Build a development build of the app "ti build -p android -T device --deploy-type development" 2. Build a normal device build (which is encrypted)"ti build -p android -T device" 3. Unzip the apk under build/android/bin/yourapp.apk Expected: The js files under resource should not be included since they are encrypted Actual: The js files are found in the apk

Comments

  1. Chris Barber 2013-11-04

    Pull request: https://github.com/appcelerator/titanium_mobile/pull/4905
  2. Chris Barber 2013-11-04

    To test, run:
       ti clean
       ti build -p android --deploy-type development
       ti build -p android
       
    Then we verify there are no unencrypted .js files in the build resources dir:
       ls -l build/android/bin/assets/Resources/*.js
       
  3. Olga Romero 2013-11-08

    Tested with: CLI 3.2.0 (git://github.com/appcelerator/titanium.git) Alloy 1.3.3 Titanium SDK, build: 3.2.0.v20131107161747 There is no unencrypted .js files in the build resources dir.

JSON Source