-
Notifications
You must be signed in to change notification settings - Fork 545
Provide error code on promise rejections (fixes #1303) #1304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Life savior! |
|
Any chance this PR can get approved and a release rolled out? This is a pretty significant issue for anyone using characteristic monitoring. |
|
@PatrickDench Feels like the maintainers and contributors don’t really care about keeping this library alive anymore. |
|
+1 |
|
I have the same problem and need the fix |
|
Thanks for the temporary solution, I do need this one too ! |
|
Same issue. Claude implemented the patch before I found this fix :) |
|
Note that (until this gets merged) you can simply install b1naryth1ef's repo via: npm install --save https://github.com/b1naryth1ef/react-native-ble-plx.git#fix/promise-rejection |
|
FYI. As I'm actively using this library I've been actively working on bringing it up to date to React Native 0.81 / Expo 54. I have a branch in progress, but my released 3.5.4 version already also include those fixes. |
This is mostly just an extension of the fix posted in #1303 as it seems modern versions of React Native don't like the null string passed here and crash. For whatever reason the repository isn't in a state where it's possible to depend on it directly (e.g. via a local filesystem dependency or a github dependency) so I had to fork and publish the package separately to NPM for testing. At least on my small application it fixed the few crashes I was seeing and didn't cause any other noticable issues.