by Patrick Corgan
By Patrick Corgan.
This flow will turn the flashlight on when the proximity sensor is activated. The light will stay on until the sensor is activated again. The light won't go on when a call is active.
Version 2: Changed the proximity sensor block to eliminate possible incompatibilities.