Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13723

Tie in to Coraline for Linux support

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
    • Environment:

      Linux

      Description

      Cordova-ubuntu is out and left me high and dry with respect to Linux versions of my cordova apps.

      So I've created a system to run cordova (and ionic) applications on linux, with plugins to bridge JS to the host. You can get more info/see a short demo on the Coraline project site.

      How Coraline differs from cordova-ubuntu:

      • it doesn't rely on the ubuntu-sdk, of course, or Qt--it's straight up C++, though plugins can use Qt;
      • in theory, it runs on any flavour of Linux;
      • plugins are dynamically loadable, and shared (though there are facilities for app-specific plugins);
      • because of the above point, apps don't actually need to be compiled – you just need a directory with all the html/js/resources, massaged appropriately to get rid of the Node stuff.

      At this point, the src/ubuntu directories for cordova plugins have started disappearing, which is a shame--I've put wrappers around a few, like the device and sqlite plugins, and am working on a way to make transition from cordova-ubuntu to coraline a simple affair for the plugins.

      The hardest part at this stage is migrating the existing plugin JS--though the APIs for coraline plugins are all identical (that's the point of cordova, after all), I'm uncertain how cordova did the magic when it comes to integrating the plugins' JS module exports stuff into the final apps, so I've been doing it manual style (slow).

      What I'd like from you guys is:

      • an idea of what to do/where to look to make integration of a new "linux" platform possible with the cordova CLI;
      • pointers to what I'd need to produce and do in order to get Linux/Coraline support into cordova;
      • any input you might have on how I might make the system better.

      and anything else you'd like to add to get the ball rolling on having actual Linux support for cordova.

      Please don't hesitate with any questions.
      Thanks,
      Pat Deegan

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              psychogenic Pat Deegan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: