mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-13 14:21:04 +08:00
feat(quikkly): add plugin(#2923)
This commit is contained in:
parent
c5ceba1aae
commit
2833da472a
21
src/@ionic-native/plugins/quikkly/index.ts
Normal file
21
src/@ionic-native/plugins/quikkly/index.ts
Normal file
@ -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 ; }
|
||||||
|
}
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user