I am getting the issue (cordova flashlight plugin installed but warning it is not installed)

I already installed the cordova-plugin-flashlight but getting this issue please help me

console.warn: Native: tried calling Flashlight.switchon, but the Flashlight plugin is not installed.
console.warn: Install the Flashlight plugin: ‘ionic cordova plugin add cordova-plugin-flashlight’

Thanks in advance

This can often help…

ionic cordova plugin rm cordova-plugin-flashlight
ionic cordova plugin add cordova-plugin-flashlight

Removing and re-adding platforms is also sometimes helpful.

ionic cordova platform rm ios
ionic cordova platform rm android
ionic cordova platform add ios
ionic cordova platform add ios

Hey i tried still i am getting the kind of issue.

Where are you running the code (simulator, device, etc)? Can you share any relevant code, environment info, etc.?