mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-05-02 00:07:23 +08:00
chore(repo): rename ionic related interfaces
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
|
||||
import { Cordova, AwesomeCordovaNativePlugin, Plugin } from '@awesome-cordova-plugins/core';
|
||||
|
||||
/**
|
||||
* @name Flashlight
|
||||
@@ -27,7 +27,7 @@ import { Cordova, IonicNativePlugin, Plugin } from '@awesome-cordova-plugins/cor
|
||||
platforms: ['Android', 'iOS', 'Windows Phone 8'],
|
||||
})
|
||||
@Injectable()
|
||||
export class Flashlight extends IonicNativePlugin {
|
||||
export class Flashlight extends AwesomeCordovaNativePlugin {
|
||||
/**
|
||||
* Checks if the flashlight is available
|
||||
* @returns {Promise<boolean>} Returns a promise that resolves with a boolean stating if the flashlight is available.
|
||||
|
||||
Reference in New Issue
Block a user