All Projects → apache → Cordova Osx

apache / Cordova Osx

Licence: apache-2.0
Apache Cordova mac

Programming Languages

javascript
184084 projects - #8 most used programming language
java
68154 projects - #9 most used programming language
csharp
926 projects
cplusplus
227 projects

Projects that are alternatives of or similar to Cordova Osx

Cordova Node Xcode
Apache cordova
Stars: ✭ 128 (-44.83%)
Mutual labels:  library, mobile, cordova
Cordova Browser
Apache Cordova
Stars: ✭ 142 (-38.79%)
Mutual labels:  library, mobile, cordova
Cordova Firefoxos
[DEPRECATED] Apache Cordova firefoxos
Stars: ✭ 41 (-82.33%)
Mutual labels:  library, mobile, cordova
Cordova Cli
Apache Cordova CLI
Stars: ✭ 861 (+271.12%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Screen Orientation
Cordova Plugin Screen Orientation
Stars: ✭ 181 (-21.98%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Camera
Apache Cordova Plugin camera
Stars: ✭ 879 (+278.88%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Globalization
Apache Cordova Plugin globalization
Stars: ✭ 131 (-43.53%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Splashscreen
Apache Cordova Plugin splashscreen
Stars: ✭ 602 (+159.48%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Test Framework
Apache Cordova
Stars: ✭ 66 (-71.55%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Device Motion
Apache Cordova Plugin device-motion
Stars: ✭ 58 (-75%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Vibration
Apache Cordova Plugin vibration
Stars: ✭ 109 (-53.02%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Contacts
Apache Cordova Plugin contacts
Stars: ✭ 203 (-12.5%)
Mutual labels:  library, mobile, cordova
Cordova Plugin File
Apache Cordova Plugin file
Stars: ✭ 664 (+186.21%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Inappbrowser
Apache Cordova Plugin inappbrowser
Stars: ✭ 994 (+328.45%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Wkwebview Engine
[DEPRECATED] Apache Cordova wkwebview engine plugin
Stars: ✭ 607 (+161.64%)
Mutual labels:  library, mobile, cordova
Cordova App Harness
[DEPRECATED] Apache Cordova app harness
Stars: ✭ 49 (-78.88%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Statusbar
Apache Cordova
Stars: ✭ 581 (+150.43%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Geolocation
Apache Cordova Plugin geolocation
Stars: ✭ 584 (+151.72%)
Mutual labels:  library, mobile, cordova
Cordova Mobile Spec
Apache Cordova mobile-spec
Stars: ✭ 57 (-75.43%)
Mutual labels:  library, mobile, cordova
Cordova Plugin Console
[DEPRECATED] Apache Cordova Plugin console
Stars: ✭ 145 (-37.5%)
Mutual labels:  library, mobile, cordova

Cordova OSX

CordovaLib is a framework that enables users to include Cordova in their OS X application projects easily, and also create new Cordova based OS X application projects.

Note that the current focus of this cordova platform is to provide kiosk-like applications for OSX, that usually run fullscreen and have little desktop interaction. So there is no direct support for menus, dock integration, finder integration, documents, etc. Think of it as a mobile app running on a very big screen.

Pre-requisites

Make sure you have installed the latest released OS X SDK which comes with Xcode 6 or later. Download it at http://developer.apple.com/downloads or the Mac App Store.

Create your project

  1. (Optionally) Follow the instructions in the Command-Line Usage section of the Cordova Docs to create a new project. For example

    $ cordova create hello com.example.hello HelloWorld
    
  2. add the osx platform:

    $ cordova platform add osx
    $ cordova run osx
    
  3. You can also open the project in XCode:

    $ open platforms/osx/<yourproject>.xcodeproj
    

Add plugins

  1. for example, if you need the file-plugin do:

    $ cordova plugin add cordova-plugin-file
    

Create a Cordova OSX Standalone project

  1. Download the source

  2. execute the create command to setup an empty project:

    $ bin/create <path_to_new_project> <package_name> <project_name>
    

    for example

    $ bin/create ../Foo org.apache.foo FooBar
    

Add plugins

  1. for example, if you need the file-plugin do:

    $ cordova plugin add cordova-plugin-file
    

Updating a CordovaLib subproject reference in your project

When you update to a new Cordova version, you may need to update the CordovaLib reference in an existing project. Cordova comes with a script that will help you to do this.

  1. Launch Terminal.app
  2. Go to the location where you installed Cordova, in the bin sub-folder
  3. Run update /path/to/your/project

FAQ

How do debug the webview?

You need to enable the WebDeveloperExtras for your bundle:

defaults write com.yourcompany.yourbundleid WebKitDeveloperExtras -bool true

After you changed the defatuls, start the application and right-click inside the webview and select Inspect Element. This opens the Safari Developer Tools.

Note: The bundleid is usually the same as your widget id you define in your config.xml unless overridden by the ios-CFBundleVersion argument.

MORE INFO

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].