Uploaded image for project: 'Appcelerator CLI'
  1. Appcelerator CLI
  2. CLI-1278

Android build always enables JavaScript encryption

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: None
    • Resolution: Fixed
    • Affects Version/s: appc-cli 6.3.0-master.16
    • Fix Version/s: CLI Release 7.0.0
    • Component/s: CLI, Titanium
    • Labels:
      None
    • Environment:

      TiSDK 6.3.0.GA

      Appcelerator CLI
      Installer: 4.2.10
      Core Package: 6.3.0

      Titanium CLI
      CLI Version: 5.0.14
      node-appc Version: 0.2.41

    • Story Points:
      1

      Description

      Subsequent Android builds always have the encryptJS flag set to true when writing the build manifest, regardless of current deployment type.

      Steps to reproduce the behavior

      1. Run a clean build
      2. Run the app a second time without any changes

      Actual behavior
      Second build and onwards always forces a full rebuild indicated by the following logs:

      [INFO]  Forcing rebuild: JavaScript encryption flag changed
      [INFO]    Was: true
      [INFO]    Now: false
      

      Expected behavior
      The build does an incremental build instead of a full rebuild. The above log message should not appear.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jvennemann Jan Vennemann
                Reporter:
                jvennemann Jan Vennemann
                Reviewer:
                Christopher Williams
              • Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code