React-native-ble-plx: is it possible to put the device running the application in advertise mode?

Created on 18 Jan 2017  路  9Comments  路  Source: Polidea/react-native-ble-plx

i am creating a android application in react native. in this application i have to put the device in advertise mode, so other nearby devices (over bluetooth) can identify it and subscribe to it. i am seeing examples where we can listen to advertised devices and get its characteristics using plx, is it possible to advertise from my app?

blocked enhancement

Most helpful comment

Hi, maybe this is the time to support the peripheral / advertisement feature. I really need this feature to create an application to track people's proximity to help reduce the COVID-19 spread.

All 9 comments

Unfortunately not. We still need to do a lot of work related to that on our backend libraries (RxBluetoothKit and RxAndroidBLE).

@Cierpliwy thankyou for the reply. can you suggest me any package which i can use for advertising in react-native. or is it a good to use android's ble advertising module in the react-native project with a wrapper.?

Unfortunately I'm not familiar with any library that supports Peripheral Mode.

why peripheral mode is a problem? It's literally one method according to docs

Peripheral mode will require support for it in our RxBluetoothKit and RxAndroidBle libraries to land in react-native-ble-plx. Also Peripheral mode is working fine on Android from version 5.0 and on selected devices from what I know.

Closing as we are blocked by missing implementation of RxBluetoothKit and RxAndroidBle libraries.

This seems to be available in RxBluetoothKit now, right?

@Cierpliwy, Should this issue be opened again now that it looks like peripheral / advertisement support is now present in the previously blocking libraries.

Hi, maybe this is the time to support the peripheral / advertisement feature. I really need this feature to create an application to track people's proximity to help reduce the COVID-19 spread.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

haohcraft picture haohcraft  路  5Comments

mitaxe picture mitaxe  路  3Comments

lenninlc picture lenninlc  路  3Comments

kevinmeyvaert picture kevinmeyvaert  路  4Comments

cltsang picture cltsang  路  4Comments