Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12844] CLI: timodule library doesn't properly handle multi-platform modules

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2013-03-05T00:02:08.000+0000
Affected Version/sRelease 3.0.2
Fix Version/sRelease 3.1.0, 2013 Sprint 05 JS, 2013 Sprint 05
ComponentsCLI
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2013-02-25T04:18:02.000+0000
Updated2017-03-14T04:47:31.000+0000

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 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:

Create a project

Use a native module that supports both "iphone" and "android"

Build the app

Expected result: * The build should work as expected

Comments

  1. Chris Barber 2013-02-25

    Master pull request: https://github.com/appcelerator/node-appc/pull/38
  2. Lee Morris 2017-03-14

    Closing ticket as fixed.

JSON Source