SkillAgentSearch skills...

ReactNativeBeaconExample

React-Native Beacon example (medium article related)

Install / Use

/learn @MacKentoch/ReactNativeBeaconExample
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

React Native: Beacons (iOS and Android)

npm

<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

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

<img alt="like here" src="./gemtot-beacon-emitter-app.PNG" width=300px />
View on GitHub
GitHub Stars45
CategoryDevelopment
Updated2y ago
Forks15

Languages

JavaScript

Security Score

65/100

Audited on Aug 26, 2023

No findings