This plugin allows you to detect if something is close to the proximity sensor.
Limitations: Only works on Android and iOS. Screen goes dark and touch is ignored on iOS when init() and something is close to screen. Not all devices have a proximity sensors
activates proximity readings
--returns true if device has proximity sensor, returns false if device does not have proximity sensor
deactivates proximity readings
--listener(function) returns event.status which can be "far" or "close"