Camera access permission is required to open the flash in torch mode. Flashlight permission is not sufficient (fix that Google!!).
Wake lock permission is used to keep the screen on (dimmed) and CPU on (thus camera flash on) when the screen shuts. Some phones as HTC''s completely shuts the camera hardware when phone is put to sleep so it might still not work for everyone.
Warning!! Be careful when using "Quick mode" as the widget might stop working (not turn on or off) on some devices like the Nexus 5. In this case you''ll need to remove and readd the widget and leave quick mode off.
I couldn''t test on many devices since I only have a Nexus 4, so if you encounter a bug please be nice and tell me and I''ll do my best to fix it :)
Button to donate inside the app :)