diff --git a/src/plugins/flashlight.ts b/src/plugins/flashlight.ts index 9cd9f23c2..68cd68f0b 100644 --- a/src/plugins/flashlight.ts +++ b/src/plugins/flashlight.ts @@ -85,6 +85,9 @@ export class Flashlight { @Cordova({ sync: true }) - static isSwitchedOn() {} + static isSwitchedOn() : boolean { + // DUMMY BOOLEAN, @Cordova decorator will replace value. + return true; + } } \ No newline at end of file