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

Deprecated API usage warning for `fallbackHostsUseDefault` #416

Closed ikurek closed 2 years ago

ikurek commented 2 years ago

Since {{fallbackHostsUseDefault}} is deprecated in {{cocoa}}, {{java}} and {{flutter}}, but still used in {{codec.dart}} we're getting an lint error:

{code} INFO: 'fallbackHostsUseDefault' is deprecated and shouldn't be used. no alternative to this. lib/src/platform/src/codec.dart:271:11 {code} We have to read/write this value from platform libraries, so as long as it's not removed, it should still be used internally in the Ably codebase. We should ignore the warning to increase pub.dev scoring and keep linter output clean.