react-native-beacons-manager icon indicating copy to clipboard operation
react-native-beacons-manager copied to clipboard

Make my app broadcast like a beacon

Open AnibalDuarte opened this issue 4 years ago • 3 comments

Version

1.0.1

Platform

iOS and Android

OS version

Any

Expected behavior

I need to broadcast some info to simulate one beacon, then another hardware can detect it and do some stuff.

Is it possible with react-native-beacons-manager ?

If not, how can I do this broadcast?

AnibalDuarte avatar Mar 10 '20 17:03 AnibalDuarte

I'd like to know this too

embpdaniel avatar Apr 03 '20 17:04 embpdaniel

'react-native-ble-advertiser' package aims to provide this functionality. It only support Android (in foreground mode) at the moment.

I think we should contribute to this package or PR this feature ourselves in react-native-beacons-manager.

Also, those packages are worth mentioning:

  • https://github.com/petrbela/react-native-peripheral
  • https://github.com/himelbrand/react-native-ble-peripheral

RonAmihai avatar Apr 06 '20 13:04 RonAmihai

You can use react-native-ibeacons-simulator module; https://www.npmjs.com/package/react-native-ibeacon-simulator

I tried this lib two days ago. it works fine. However, some features are depreciated just you need to update some codes on java for android. I am also trying to run on ios.

xbarslan avatar Apr 13 '20 10:04 xbarslan