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

CLI: timodule library doesn't properly handle multi-platform modules

    Details

      Description

      The timodule library detects what modules are installed and finds the ones that you're interested in (i.e. the ones from the tiapp.xml). The module doesn't properly handle when the <module> platform attribute contains multiple platforms:

      <modules>
          <module platform="android,iphone">my.module</module>
      </modules>
      

      Also, when a module is found, but the minsdk from the module's manifest is not compatible with the current SDK version, there is a bug where the module isn't properly triggering the build to fail.

      To test:

      1. Create a project
      2. Use a native module that supports both "iphone" and "android"
      3. Build the app

      Expected result:

      • The build should work as expected

        Attachments

          Activity

            People

            • Assignee:
              cbarber Chris Barber
              Reporter:
              cbarber Chris Barber
              Reviewer:
              Bryan Hughes
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-15732
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration