rikulo_gap 0.6.0 copy "rikulo_gap: ^0.6.0" to clipboard
rikulo_gap: ^0.6.0 copied to clipboard

outdated

Rikulo Gap is a bridge implementation of Apache Cordova enabling developers to access native resources of mobile platforms using the HTML5 and Dart.

#Rikulo Gap

Rikulo Gap is a bridge implementation of the Apache Cordova mobile framework (a.k.a. PhoneGap) in Dart. It enables developers to access native facilities of multiple mobile platforms using the HTML, CSS, and Dart.

Rikulo Gap is distributed under the Apache 2.0 License.

##Install from Dart Pub Repository

Add this to your pubspec.yaml (or create it):

dependencies:
  rikulo_gap:

Then run the Pub Package Manager (comes with the Dart SDK):

pub install

##Install from Github for Bleeding Edge Stuff

To install stuff that is still in development, add this to your pubspec.yam:

dependencies:
  rikulo_gap:
    git: git://github.com/rikulo/gap.git

For more information, please refer to Pub: Dependencies.

##Usage

Everything start from enabling your device accessiblity:

import 'package:rikulo_gap/device.dart';

void main() {
    //enable the device
  Future<Device> enable = enableDeviceAccess(); 

    //when the device is enabled and ready
  enable.then((device) {
    ...
  });

    //if failed to enable the device and/or timeout
  enable.handleException((ex) {
    ...
    });
}

For more information, please refer to Building Native Mobile Application.

###Fork Rikulo Gap

If you'd like to contribute back to the core, you can fork this repository and send us a pull request, when it is ready.

Please be aware that one of Rikulo's design goals is to keep the sphere of API as neat and consistency as possible. Strong enhancement always demands greater consensus.

If you are new to Git or GitHub, please read this guide first.

##Who Uses

  • Quire - a simple, collaborative, multi-level task management tool.
0
likes
10
points
3
downloads

Publisher

unverified uploader

Weekly Downloads

Rikulo Gap is a bridge implementation of Apache Cordova enabling developers to access native resources of mobile platforms using the HTML5 and Dart.

License

unknown (license)

More

Packages that depend on rikulo_gap