octavioturra / react-native-alt-beacon

A work-in-progress lib to work with AltBeacon and React Native.
MIT License
34 stars 10 forks source link

App crashes while stopping monitoring #12

Open astriskit opened 6 years ago

astriskit commented 6 years ago

Hi. First thanks for writing this library. I am using this library for detecting and making AltBeacon formatted beacon. I have kept the flow as -

  1. Start monitoring/ranging on pressing button.
  2. Look for any devices nearby(look for proper events). Do something.
  3. And stop monitoring on pressing button.

While stopping monitoring, the app just crashes. I don't get anything on the remote-debugger. Any help would do.

Also, this error - "folly::toJson: JSON object value was a Nan or INF", also keeps on crashing the app pretty much randomly.