atajox-lib
AtajoX API Library
Last updated 7 months ago by gvhuyssteen .
MIT · Original npm · Tarball · package.json
$ cnpm install atajox-lib 
SYNC missed versions from official npm registry.

Global installs

$ npm install -g karma-cli $ npm install -g typescript typings

Available Plugins

cordova-plugin-app-version
cordova-plugin-battery-status
cordova-plugin-device
cordova-plugin-signal-strength
cordova-plugin-network-information

$ ionic cordova plugin add {plugin} --save';

Database Support

https://ionicframework.com/docs/storage/

Add to app.module.ts

IonicStorageModule.forRoot({ 
    name: 'atajo.client.database', 
    driverOrder: ['sqlite', 'websql'] 
}) 

Code Push Support

$ cordova plugin add https://github.com/k1dbl4ck/cordova-plugin-atajo-update.git Remember to remove the old code push first.

In Ionic2:

platform.ready(() => {

    atajoXConfig.set('domain', {your-domain-name});

    let update = new AtajoXUpdate();
    update.checkForUpdates();

});

The following events can be listened through atajoXEvents:

      'atajo:update:initialized',
      'atajo:update:filesystem:ready',
      'atajo:update:folder:ready',
      'atajo:update:error',
      'atajo:update:download:success',
      'atajo:update:download:error',
      'atajo:update:download:progress',
      'atajo:update:unzip:success',
      'atajo:update:unzip:error',
      'atajo:update:unzip:progress',
      'atajo:update:file:remove:success',
      'atajo:update:file:remove:error',
      'atajo:update:file:get:error'

Example:

import {atajoXEvents} from 'atajox-lib';
...
atajoXEvents.subscribe('atajo:update:file:remove:success', (data) => {
    // update installed successfully
});
...

Start tests

$ karma start

Current Tags

  • 0.0.10                                ...           audi (2 years ago)
  • 0.0.23                                ...           latest (7 months ago)

23 Versions

  • 0.0.23                                ...           7 months ago
  • 0.0.22                                ...           8 months ago
  • 0.0.21                                ...           a year ago
  • 0.0.20                                ...           a year ago
  • 0.0.19                                ...           a year ago
  • 0.0.18                                ...           a year ago
  • 0.0.17                                ...           a year ago
  • 0.0.16                                ...           a year ago
  • 0.0.15                                ...           a year ago
  • 0.0.14                                ...           2 years ago
  • 0.0.13                                ...           2 years ago
  • 0.0.12                                ...           2 years ago
  • 0.0.11                                ...           2 years ago
  • 0.0.10                                ...           2 years ago
  • 0.0.9                                ...           2 years ago
  • 0.0.8                                ...           2 years ago
  • 0.0.7                                ...           2 years ago
  • 0.0.6                                ...           2 years ago
  • 0.0.5                                ...           2 years ago
  • 0.0.4                                ...           2 years ago
  • 0.0.3                                ...           2 years ago
  • 0.0.2                                ...           2 years ago
  • 0.0.1                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |