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

Discussion: Allow native modules to be included without compiling them

    Details

    • Type: Story
    • Status: Open
    • Priority: None
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Android, iOS, Windows
    • Labels:
      None

      Description

      This is open for discussion: Some other frameworks allow developers to use their native modules without compiling them before. While this decreases the speed of clean builds, it gives the huge advantage of not needing to recompile native modules if a new V8 version comes out, since it's tied to the V8 version of the SDK.

      From a technical perspective, we would then compile native modules on the fly and store a reference of them for recurring builds. Even if we decide to not do this, it could be realized without too much effort by using a hook that scans the modules/ directory for uncompiled modules, builds them with the existing utility and links it to the app like before.

      Thoughts welcome!

        Attachments

          Activity

            People

            • Assignee:
              emerriman Eric Merriman
              Reporter:
              hknoechel Hans Knöchel
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Git Source Code