Driversnote-Dev / react-native-kontaktio

React Native (iOS and Android) library for Kontakt.io beacons (and all other beacons)
MIT License
111 stars 48 forks source link

Fix imports for React Native 0.48.x. Close #20 #19

Closed exKAZUu closed 6 years ago

exKAZUu commented 6 years ago

This PR fixes #20. It is inspired from https://github.com/ivpusic/react-native-image-crop-picker/pull/437, https://github.com/Polidea/react-native-ble-plx/pull/136, https://github.com/yonahforst/react-native-permissions/issues/137.

I confirmed this fixed compile errors in my project using RN 0.48.3 and in the reproduction repository mentioned in #20.

andrekovac commented 6 years ago

Thanks for the PR! I will test it shortly and then merge!

andrekovac commented 6 years ago

Thanks for the fix!