
Security News
The Next Open Source Security Race: Triage at Machine Speed
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.
react-native-ble-plx
Advanced tools
This is React Native Bluetooth Low Energy library wrapping Multiplatform Ble Adapter.
It supports:
It does NOT support:
This version (2.x) breaks compatibility with old RN versions. Please check old README (1.x) for the old instructions or migration guide.
| React Native | 2.0.0 |
|---|---|
| 0.62.2 | :white_check_mark: |
| 0.61.5 | :white_check_mark: |
| 0.60.6 | :white_check_mark: |
2.0.1
onDisconnected() callback on AndroidInterested in React Native project involving Bluetooth Low Energy? We can help you!
Learn more about Polidea's React Native services.
Learn more about Polidea's BLE services.
Documentation can be found here.
Contact us at Polidea.
Contact us at Gitter if you have any questions, feedback or want to help!
npm install --save react-native-ble-plxnpx react-native link react-native-ble-plxios folder and add empty Swift file if you don't have at least one:
ios/Podfile to contain (it may be already there):
pod 'react-native-ble-plx', :path => '../node_modules/react-native-ble-plx'
ios folder and run pod updateNSBluetoothAlwaysUsageDescription in info.plist file. (it is a requirement since iOS 13)Capabilities tab and enable Uses Bluetooth LE Accessories in
Background Modes section.restoreStateIdentifier and restoreStateFunction to BleManager constructor.npm install --save react-native-ble-plxnpx react-native link react-native-ble-plxbuild.gradle make sure that min SDK version is at least 18:buildscript {
ext {
...
minSdkVersion = 18
...
build.gradle make sure to add jitpack repository to known repositories:allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
AndroidManifest.xml, add Bluetooth permissions and update <uses-sdk/>:<manifest xmlns:android="http://schemas.android.com/apk/res/android"
...
<uses-permission android:name="android.permission.BLUETOOTH"/>
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
<uses-permission-sdk-23 android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!-- Add this line if your application always requires BLE. More info can be found on:
https://developer.android.com/guide/topics/connectivity/bluetooth-le.html#permissions
-->
<uses-feature android:name="android.hardware.bluetooth_le" android:required="true"/>
...
Add this to your app/proguard-rules.pro
-dontwarn com.polidea.reactnativeble.**
FAQs
React Native Bluetooth Low Energy library
The npm package react-native-ble-plx receives a total of 91,825 weekly downloads. As such, react-native-ble-plx popularity was classified as popular.
We found that react-native-ble-plx demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Claude Opus 4.6 has uncovered more than 500 open source vulnerabilities, raising new considerations for disclosure, triage, and patching at scale.

Research
/Security News
Malicious dYdX client packages were published to npm and PyPI after a maintainer compromise, enabling wallet credential theft and remote code execution.

Security News
gem.coop is testing registry-level dependency cooldowns to limit exposure during the brief window when malicious gems are most likely to spread.