Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-25562

CLI: Automatically migrate native Android modules to SDK 7 during module-build

    Details

      Description

      The V8 update forces module developers to recompile their modules, which can be quite a pain when having many modules to maintain. I would propose a small module-build hook inside the _buildModule.js that takes care of this by detecting the currently selected SDK and then migrates the module automatically, by:

      • bumping the apiversion to 4
      • setting the minimum-sdk to 7.0.0
      • adding the arm64-v8a architecture
      • optionally (recommended): bumping the version to the next major to indicate a new major version

      We may want to ask the developer to confirm the changes, e.g. by printing the new file. It would greatly improve the dev-experience during module recompiling and could be the subject of our planned post about migrating to SDK 7.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              hknoechel Hans Knöchel
              Reviewer:
              Christopher Williams
            • Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Git Source Code