-
Notifications
You must be signed in to change notification settings - Fork 60
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
BluetoothStatus.state is always false #55
Comments
Library seems completely broken in my experience. iOS returns "Native module cannot be null", and Android returns always false, no matter what I do. Did you find any workaround? |
It seems to happen on Samsung phones and tablets but not on a Google Pixel for example... Is this also what you observe? |
I started facing this issue after migrating from React Native 0.63.3 to 0.64.0 |
I found a workeround for this. But its not a best solution for every app and case. But for my app as a temporary solution is acceptable. ` useEffect(() => {
}, [printers, btStatus, isPending]); |
Same issue but issue only found on Android im using below:
|
Same issue |
+1 |
No matter if the Bluetooth is switched on or off (both general settings and app settings) the state comes as false. Am I missing something?
When I inspect the
state
in the line https://github.com/solinor/react-native-bluetooth-status/blob/master/index.js#L28state
isundefined
The text was updated successfully, but these errors were encountered: