Crash Flashlight on camera

Asked

Viewed 71 times

0

I need to keep the flash on continuously when opening the camera. I am using the Ionic framework for APP development. However when activating Flashlight(Eddyverbruggen Plugin : https://github.com/EddyVerbruggen/Flashlight-PhoneGap-Plugin) it crashes the camera. I tried to use other camera plugins that is not the default camera of Cordova. It gave the same problem. I want to know if anyone knows how to fix this problem, or knows another solution to keep the flash going.

1 answer

0

I had crash problem with the camera library, in my case it was the option "do not keep activities", option on the developer part, try this!

Good luck!

Obs. try to give permission to the camera directly in the configuration of the app inside your android.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.