Comments (5)
I got the same one on Android. With the latest Node and ReactNative as of now. Also tried updating the "react-native" module, but that of course lead to other errors.
from react-native-ble-plx.
I think sharing some code in this case would be helpful for others to look into.
from react-native-ble-plx.
Actually I was referring to the example app from /examples/ReactBLEScanner/ in the repo. The error appears when the app is built and started. Probably it has worked with a previous version of ReactNative, but not with the current one 0.42.
I just missed the fact that the original poster has not specified how he got the error.
from react-native-ble-plx.
Here is a solution, which involves modifying some of the react-native sources facebook/react-native#11389 (comment)
In the same thread there are fixes for newer react-native versions too.
from react-native-ble-plx.
Old example is not supported. Closing due to inactivity.
from react-native-ble-plx.
Related Issues (20)
- π empty known devices list on Android HOT 4
- IOS Service UUID does not getting HOT 7
- Support sharing JSON data between devices HOT 2
- π The onstatechange was not fired if the app's blue permission was disabled HOT 5
- π IOS\Android disconnecting from bluetooth device after connecting if we don't write characteristics after 30 seconds. HOT 4
- π BluetoothLE is in unknown state, but the state is PoweredOn HOT 7
- Auto-disconnection in some Android devices HOT 5
- π Scanning devices, it only finds my ble beacon on Android 11 (it doesn't on iOS 17.5.1 and Android 14) HOT 2
- I have connected to the IoT device, but I still cannot get the data sent by the IoT device. Does it not support the Bluetooth serial port? HOT 1
- Read characteristic in background? HOT 2
- isDeviceConnected return BleErrorCode.DeviceDisconnected instead of falseπ HOT 2
- πManufacturerData on iOS returning null, in Android is correctly setted HOT 20
- Issue with [BleError: Operation was cancelled] on iOS 17 HOT 10
- π Module does not work with Android Auto, when there is no Activity
- Is it possible to define Characteristics and Serivces that should be available on a mobile device acting as a peripheral? HOT 1
- How can i use this package to emitter beacons HOT 1
- Forking and building locally
- Discovering nearby users HOT 2
- π startDeviceScan errors with "BleManager was destroyed" on android API level 33 (android 13) when published (works fine when running with metro) HOT 2
- test fails using jest.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-ble-plx.