Awesome
React Native: Beacons (iOS and Android)
<a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/Mp96tCWH2KdajZuBzqB6jwj8/MacKentoch/reactNativeBeaconExample'> <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/Mp96tCWH2KdajZuBzqB6jwj8/MacKentoch/reactNativeBeaconExample.svg' /> </a>This repository is related to my medium article
How to install
Assuming you already have:
NodeJS >= 6.x
React Native
tools (React Native website will explain better than me what it is about)
Steps to install:
- clone this repository
- install all npm dependencies
ornpm install
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:
Android:
- target :
- minimum to 21
minSdkVersion
(which means: android 5.0 LOLLIPOP)
- minimum to 21
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
<img alt="like here" src="./gemtot-beacon-emitter-app.PNG" width=300px />