Differences between revisions 4 and 5
Revision 4 as of 2014-03-24 20:57:59
Size: 1436
Editor: JoshSoref
Comment: lowercase trivial title word
Revision 5 as of 2014-06-06 16:54:11
Size: 1471
Editor: MarcelKinard
Comment: added bullet for docs
Deletions are marked like this. Additions are marked like this.
Line 18: Line 18:
  * Add platform-specific guides.

Adding a New Apache Cordova Platform

A "native" platform implementation is generally instantiated with the following steps:

  • Instantiate a chromeless browser. Examples include:
  • Load packaged www assets (HTML/CSS/JS)
    • TODO: provide examples of this for different platforms
  • Enable a bridge between native framework and the web view
    • TODO: provide examples of this for different platforms
  • Integrate a new platform into the cordova-js project. This is a common API for sending messages and triggering error and success callbacks with native framework responses.

  • Ensure the mobile-spec tests pass

  • Update the documentation where applicable, specifically:

    • Quirks sections, such as if some APIs or methods are not supported.
    • Add platform-specific guides.

AddingNewPlatforms (last edited 2014-06-06 16:54:11 by MarcelKinard)