nearit / react-native-connectivity-status

A ReactNative module to check Bluetooth and Location status on Android and iOS
https://www.npmjs.com/package/react-native-connectivity-status
MIT License
38 stars 26 forks source link

chore!: Use AndroidX over deprecated Android support library #15

Closed codazzo closed 3 years ago

codazzo commented 4 years ago

React Native version 0.60 makes it mandatory to use AndroidX. Users of RN >= 0.60 currently need to run jetify in order for this dependency to be usable. The recommended upgrade path would be to switch libraries such as this to AndroidX and release new major versions which deprecate RN < 0.60. This commit includes the one change produced by running jetify on the project.

References:

https://reactnative.dev/blog/2019/07/03/version-60#androidx-support https://github.com/react-native-community/discussions-and-proposals/issues/129 https://developer.android.com/jetpack/androidx/migrate

Note

I have not included a (major) version bump commit in this PR but am happy to do so.

codazzo commented 3 years ago

Closing this - feel free to reopen!