Files
nearby_service/CHANGELOG.md
T
Kseniia NikitinaandGitHub 7049c39cf0 BREAKING CHANGE: Update API for connection, communication channel state and is browser value (#14)
* refactor(lib, example, example_full): use streams for communication channel and is ios browser

* feat: add abstract toJson() to message

* refactor: add deprecations for nearby_service

* feat(example): update main.dart

* feat(nearby_service): add comments

* feat(nearby_service_platform_interface): add deprecation to getConnectedDeviceStream

* feat(nearby_service/message): add concrete implementation for toJson()

* feat(nearby_service/android): add deprecations

* fix(nearby_service/android): reset check for android device

* fix(nearby_service/ios): change ios service to deprecations variant

* chore(nearby_service): edit deprecation messages

* chore: update gitignore

* doc: add CONTRIBUTING file

* doc: update CONTRIBUTING file

* chore: update CONTRIBUTING.md

* chore: update CONTRIBUTING.md

* chore: version 0.1.0

* fix(example_full): move startListeningCommunicationChannelState() upper
2024-08-18 15:42:53 +02:00

1.5 KiB

0.1.0

!! BREAKING CHANGES !!

  • Method connect() is deprecated. Added connectById() method instead
  • Method disconnect() is deprecated. Added disconnectById() method instead
  • Getter communicationChannelState is deprecated. Added getCommunicationChannelStateStream() method and communicationChannelStateValue getter instead
  • Getter isBrowser is deprecated. Added getIsBrowserStream() method and isBrowserValue getter instead
  • Added toJson() method to NearbyMessage class and its subclasses

More information about the deprecated API here: https://github.com/ksenia312/nearby_service/pull/14. In the next versions, the deprecated API will be removed.

0.0.9

0.0.8

  • Add cancelLastConnectionProcess for Android manager

0.0.7

  • Log all errors on the Android platform
  • Add mapping for native Android exceptions in methods: discover(), stopDiscovery(), connect(), disconnect()
  • Fix getPeers() method: correct decoding from JSON
  • Update example: show empty peers state
  • Update example_full: show variant of checking running jobs

0.0.6

  • Update README: add a Feedback form

0.0.5

  • Update README: add Features section

0.0.4

  • Update README: fix table of contents

0.0.3

  • Update README: fix images

0.0.2

  • Update README and assets

0.0.1

  • The first release