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.
useNearbyPublicationuseNearbySubscriptionuseNearbySearchuseNearbyErrorCallback
- Support different discovery modes such as
broadcast,scanor both. - Support different discovery mediums such as
ble,audioor both. (Android: temporarily also addedbluetooth,defaultandnone, those have to be tested because I don't know which is the correctbleint 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
NearbyStatusto describe which status the nearby API (hooks) currently is in. - Add
rename_logging_functionsruby post_install script for the Podfile for those of you who have theduplicate symbol 'google::RemoveLogSink(google::LogSink*)'error (see: troubleshooting (7.))
Check v1.0.13 out on npmjs!