-
-
Notifications
You must be signed in to change notification settings - Fork 753
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
unhandled promise rejection #192
Comments
Hi, try to install manually. |
Update: Compiling and running included example results in the same error. now moving to installing it manually But I am skeptical. |
Update # 2:
|
Try with RN 0.46, I don't know if there are breaking changes in 0.47 |
For RN 0.47, change
to
|
Works as is for RN 0.46 |
I've also run into this issue with 0.47. Seems like this issue should be left open. |
For future reference, RN version 0.53, Typescript, I needed to import as |
I'm facing same problem with below configuration: "react": "16.11.0", Android version: 10 |
I'm facing same problem with below configuration: "react": "16.8.3", Android version: 10 |
It depended on importing way in my case. // import * as BleManager from "react-native-ble-manager" // Bad
import BleManager from "react-native-ble-manager" // OK
BleManager.start() "react": "18.2.0",
"react-native": "0.74.2",
"react-native-ble-manager": "^11.5.4" |
Version
Tell us which versions you are using:
react-native-ble-manager v_latest as of 4thAug2017
react-native
react-native-cli: 2.0.1
react-native: 0.47.0
iOS/Android v.Android 7.1.1
I have linked ble-manager library using react-native link. I followed the instructions to change minSDK version to 18.
I am getting the following Warning when I use
"BleManager.start({showAlert: false, allowDuplicates: false});"
I have traced the problem to the
bleManager.start call in the following function in BleManager.js.
I am not sure what went wrong or how to fix it.
The text was updated successfully, but these errors were encountered: