react-native-connectivity-status
react-native-connectivity-status copied to clipboard
A ReactNative module to check Bluetooth and Location status on Android and iOS
### Environment ### Steps to Reproduce (Write your steps here:) 1. 2. 3. ### Expected Behavior (Write what you thought would happen.) ### Actual Behavior (Write what happened. Add screenshots!)
This PR fixes the warnings "new NativeEventEmitter() was called with a non-null argument without the required (...)" which occur on React Native 0.65+. Related - https://github.com/software-mansion/react-native-reanimated/pull/2316 - https://github.com/react-native-device-info/react-native-device-info/commit/3917f339207a5a2b05e3922f7489a0568dfde666
I think Bluetooth should be optional since not everyone wants to check the bluetooth status, only location since it's more popular.
### Environment Environment: OS: macOS Big Sur 11.2.2 Node: 11.10.1 Yarn: 1.19.1 npm: 6.7 Watchman: 4.7.0 Xcode: Xcode 12.4 stable Android Studio: NA Packages: (wanted => installed) react-native: 0.62.2 =>...
iOS 13 introduced the requirement to request permission to use Bluetooth, much like location. It would be great if this library could be used to check the status of that...
### Environment System: OS: macOS 10.14.6 CPU: (4) x64 Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz Memory: 91.46 MB / 8.00 GB Shell: 3.2.57 - /bin/bash Binaries: Node: 10.15.3 - /usr/local/bin/node...
My project react native version is 0.57.5 react version is 16.6.0-alpha.8af6728 I am using react-native-connectivity-status for version "1.5.1". When i install react-native-connectivity-status library and try to run android build I...