williambout / react-native-proximity

:iphone: A React Native wrapper that provides access to the proximity sensor on iOS and Android.
MIT License
211 stars 69 forks source link

Implement "requiresMainQueueSetup" #12

Open mcrowe opened 6 years ago

mcrowe commented 6 years ago

React Native now requires that this library implements requiresMainQueueSetup, as described in this YellowBox deprecation warning.

screen shot 2018-07-09 at 9 12 53 pm

michaelkoelewijn commented 5 years ago

Due to IOS 13 needing a main thread setup which this package currently lacks, we have decided to fork the project and add the necessary changes (including the removal of this warning). I have created a PR but due to inactivity in this project i'm afraid it will not get merged any time soon.

https://github.com/williambout/react-native-proximity/pull/20

EricWiener commented 4 years ago

@michaelkoelewijn thanks for making a fork. Your version works great.