Skip to content
repo to host iOS crosswalk extensions
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demos
extensions
iOSExtensions.xcworkspace
third-party
.gitignore
.gitmodules
LICENSE
Podfile
README.md
crosswalk-extension-cordova.podspec
crosswalk-extension-fingerprint.podspec
crosswalk-extension-iap.podspec
crosswalk-extension-presentation.podspec

README.md

Introduction

The iOS Extension Crosswalk project implements the iOS Crosswalk APIs on top of the Crosswalk app runtime and its extension framework.

This repository is going to hold all the officially published Crosswalk iOS extensions, as well as the extension demos and samples.

Extensions

Cordova

Presentation

Quickstart

For hybrid developers, the easiest way to integrate Crosswalk extensions is using CocoaPods. You need to make sure you've already installed the CocoaPods on your computer. For the installation and usage of CocoaPods, please refer to: https://cocoapods.org/.

Basically the only thing you need to do is to create a Podfile in your project directory, and add a line of pod dependency which you need to use:

pod 'crosswalk-extension-cordova', '~> 1.1'

And in your app's manifest.json, add a line in xwalk_extensions to load the extension:

'xwalk_extensions': [
  'xwalk.cordova'
],

Please refer to the instruction of each extension for more details.

Development

  • Clone the repo with command:
git clone https://github.com/crosswalk-project/ios-extensions-crosswalk.git
  • Initialize the repo with command:
cd ios-extensions-crosswalk
git submodule update --init --recursive
  • Install the pods for extension development with command:
pod install
  • Open the iOSExtension.xcworkspace, build the extension targets.

Demos

There are several demo applications to illustrate the usage of each extension, please refer to the directory demos for more details.

License

This project is available under the BSD license. See the LICENSE file for more info.

You can’t perform that action at this time.