It has no sketchy permission problems that most apps of this type have, reason why I decided to make one. It uses the camera permission to have access to the flashlight, and to insure transparency between me and people who download, I have put the whole code here. Only things missing are the sound effects and the icons as I had no right to distribute them.