Skip to content

Latest commit

 

History

History
22 lines (12 loc) · 456 Bytes

README.md

File metadata and controls

22 lines (12 loc) · 456 Bytes

beaconbroadcast npm

React Native Module that broadcasts an iBeacon uuid.

Setup

Install using https://github.com/rnpm/rnpm :

rnpm install beaconbroadcast

Import in your project:

import BeaconBroadcast from 'beaconbroadcast';

API

Start iBeacon on device:

BeaconBroadcast.startAdvertisingBeaconWithString('uuid', 'identifier');

Stop iBeacon:

BeaconBroadcast.stopAdvertisingBeacon()