/reactNativeBeaconExample

React-Native Beacon example (medium article related)

Primary LanguageJavaScript

React Native: Beacons (iOS and Android)

npm

Sponsor

This repository is related to my medium article

RN-iBeacon.png

How to install

Assuming you already have:

Steps to install:

  • clone this repository
  • install all npm dependencies
    npm install
    or
    yarn install
  • integrates dependencies in iOS and Android projects
react-native link

iOS:

  • iOS 8.0 minimum

Don't forget to active Bluetooth and localization service on your device

Note: this example app is already configured: ios: active background mode

Android:

  • target :
    • minimum to 21 minSdkVersion (which means: android 5.0 LOLLIPOP)

Don't forget to active Bluetooth on your device (already done for you in this project)

Beacon:

Any beacon should work just enter the right uuid.

You have no beacon... but you have an alternate iOS device, great!

This device can become your beacon like emitter thanks to gemtot

like here