Skip to content

Commit

Permalink
feat(quikkly): add plugin(#2923)
Browse files Browse the repository at this point in the history
  • Loading branch information
byrner75 authored and danielsogl committed Feb 14, 2019
1 parent c5ceba1 commit 2833da4
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/@ionic-native/plugins/quikkly/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Injectable } from '@angular/core';
import { Cordova, IonicNativePlugin, Plugin } from '@ionic-native/core';

/**
* @name QuikklyPlugin
* @description ionic wrapper for cordova-plugin-quikkly
* Use the quikkly scanner in your ionic app
*/
@Plugin({
pluginName: 'QuikklyPlugin',
plugin: 'cordova-plugin-quikkly',
pluginRef: 'cordova.plugins.quikkly',
repo: 'https://github.com/quikkly/cordova-plugin-quikkly.git',
platforms: ['Android', 'iOS']
})
@Injectable()
export class QuikklyPlugin extends IonicNativePlugin {
@Cordova()
openScanner(): Promise<string[]> { return ; }
}

0 comments on commit 2833da4

Please sign in to comment.