cordova-plugin-background-mode
cordova-plugin-background-mode copied to clipboard
Doesn't Work With Flashlight
I've developed an ionic app that turns the flashlight on and off, but i need that to run in the background on iOS as well. The app runs in the background just fine, but when it is the flashlight doesn't do anything.
I've just used the same code as i do when the app is open: this.flashlight.toggle(); yet nothing happens when running in the background?
I've developed an ionic app that turns the flashlight on and off, but i need that to run in the background on iOS as well. The app runs in the background just fine, but when it is the flashlight doesn't do anything.
I've just used the same code as i do when the app is open: this.flashlight.toggle(); yet nothing happens when running in the background?
Did you find any solution? I'm currently trying to do something similar. The application is running in the background, but the flash light turns off in the background.