Miss any of our Open RFC calls?Watch the recordings here! »

@red-mobile/cordova-plugin-proximity

1.2.4 • Public • Published

cordova-plugin-proximity

This plugin provides access to the device's (IR) proximity sensor.

At this moment this plugin is implemented only for Android!

Installation

cordova plugin add @red-mobile/cordva-plugin-proximity

uninstall

cordova plugin remove cordva-plugin-proximity
npm unintall @red-mobile/cordva-plugin-proximity

Supported Platforms

  • Android

Methods

  • navigator.proximity.getCurrentProximity
  • navigator.proximity.watchProximity
  • navigator.proximity.clearWatch

Install

npm i @red-mobile/cordova-plugin-proximity

DownloadsWeekly Downloads

32

Version

1.2.4

License

MIT

Unpacked Size

16.8 kB

Total Files

8

Last publish

Collaborators

  • avatar