Skip to content

Releases: mrousavy/react-native-google-nearby-messages

1.0.13

26 Jun 11:09
Compare
Choose a tag to compare

There's a lot of features here, hold up lemme explain:

  • Add stateful React hooks to implement in your functional components. Note: only one either publication or subscription can be used, not both.
    • useNearbyPublication
    • useNearbySubscription
    • useNearbySearch
    • useNearbyErrorCallback
  • Support different discovery modes such as broadcast, scan or both.
  • Support different discovery mediums such as ble, audio or both. (Android: temporarily also added bluetooth, default and none, those have to be tested because I don't know which is the correct ble int map)
  • Add new initializer for connect() (and the react hooks) which takes an object consisting of the API key, the discovery modes and the discovery mediums.
  • immediately reject promise in Android's connect() instead of silently ignoring them and emitting them through the error event emitter.
  • Fix bug where Android hard-crashes when publishing
  • Fix a lot of other bugs
  • Add TROUBLESHOOTING.md file since apparently there can be a lot of troubles
  • Add NearbyStatus to describe which status the nearby API (hooks) currently is in.
  • Add rename_logging_functions ruby post_install script for the Podfile for those of you who have the duplicate symbol 'google::RemoveLogSink(google::LogSink*)' error (see: troubleshooting (7.))

Check v1.0.13 out on npmjs!

initial release

03 Jun 10:09
Compare
Choose a tag to compare
  • Got iOS and Android working stable on my devices for now.
  • Currently only supports BLE.
  • npm published. (v1.0.0)