reactNativeBeaconExample
reactNativeBeaconExample copied to clipboard
React-Native Beacon example (medium article related)
React Native: Beacons (iOS and Android)
This repository is related to my medium article
How to install
Assuming you already have:
NodeJS >= 6.xReact Nativetools (React Native website will explain better than me what it is about)
Steps to install:
- clone this repository
- install all npm dependencies
ornpm installyarn 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