feat(): add IonicNativePlugin base class (#1425)

* add base class

* properties are static

* some fixes

* tslint
This commit is contained in:
Ibby Hadeed
2017-04-27 00:36:12 -04:00
committed by GitHub
parent 39eaebfafd
commit 17366a29da
144 changed files with 334 additions and 294 deletions
@@ -1,4 +1,4 @@
import { Plugin, Cordova } from '@ionic-native/core';
import { Plugin, Cordova, IonicNativePlugin } from '@ionic-native/core';
import { Injectable } from '@angular/core';
/**
@@ -46,7 +46,7 @@ import { Injectable } from '@angular/core';
platforms: ['Android', 'iOS', 'Tizen', 'BlackBerry 10']
})
@Injectable()
export class SQLitePorter {
export class SQLitePorter extends IonicNativePlugin {
/**
* Executes a set of SQL statements against the defined database. Can be used to import data defined in the SQL statements into the database, and may additionally include commands to create the table structure.