ably / ably-flutter

A wrapper around our Cocoa and Java client library SDKs, providing iOS and Android support for those using Flutter and Dart.
https://ably.com/download
Apache License 2.0
60 stars 16 forks source link

Added updated list of usage examples #384

Closed ikurek closed 2 years ago

ikurek commented 2 years ago

This should solve https://github.com/ably/ably-flutter/issues/376. I've collected all the usage examples from exisiting README files and created a new one, updating all the components to match current state of the API exposed by Ably library. I've split all those into separate markdown paragraphs so it's easy to find each feature. I've also reduced the amount of boilerplate and unnecessary code in the examples, so they're easier to read.

If this file is okay for the rest of the team, I'll probably use it to refactor the main repository README file, which has a lot of legacy code in examples and is missing a few methods.

ikurek commented 2 years ago

I think I've added all missing examples, so this PR should also close https://github.com/ably/ably-flutter/issues/139 and https://github.com/ably/docs/issues/1153. The list of examples should now be up-to-date with features in the library 🙂