Skip to content

Releases: ably/ably-flutter

1.2.14

23 May 13:37
be07dad

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Add Flutter and/or Dart runtime version to Ably-Agent header, if possible #286
  • Throw errors instead of returning null when serialization/ deserialization fails #149
  • Custom Transport Parameters (Params) #108

Fixed bugs:

  • Check requirements and update for Flutter 3.0.0 #394
  • Upgrade ably-java dependency to version 1.2.12 #385
  • Swift Compiler Error (Xcode): Definition conflicts with previous value #347
  • Update errorReason on Realtime.connection #120
  • Logging and error handling for ObjC stream listeners #399
  • Fixed argument error in Swift implementation of Crypto.generateRandomKey #377
  • Fixed iOS push module compilation issue on some versions of XCode #373
  • Updated realtime connection to update errorReason #365

Closed issues:

  • Check compatibility with XCode 13 #389
  • Document public members of classes #380
  • Ably iOS interferes with firebase_messaging #378
  • Sort named constructor parameters alphabetically #351
  • Use named arguments for options classes and make all fields private #61

1.2.13

05 Apr 15:13
29513ee

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Drop support for Android v1 embedding API #178
  • Defaults: Generate environment fallbacks #47

Fixed bugs:

  • Android only - Returning a TokenDetails with 'issued' and 'expires' values in epoch milliseconds throws java error #356
  • Fix AblyException assigning 'Message' to 'Code' field #349
  • Investigate and fix encryption in sample app #334
  • Execution failed for task ':ably_flutter:compileDebugJavaWithJavac' while running integration test for android device #322
  • Realtime types (e.g. RealtimeHistoryParams) extending Rest ones (e.g. RestHistoryParams) can cause problems (crashes) #241
  • Fix LogHandler (use it) #238
  • Broken dartdoc link generated from readme #110

Closed issues:

  • Ably interferes with firebase_messaging #346
  • Missing link to ApplicationState in documentation #335
  • Write integration tests for realtime channel specs #332
  • Consider Simplifying AblyMessage #329
  • Upgrade firebase-messaging to version 23.0.0 #320
  • Example App should be able to build and run without Firebase configured via google-services.json #318
  • No need for GitHub workflows to explicitly run flutter pub get in the example folder #317
  • Example App should be able to build and run without ABLY_API_KEY #316
  • resultForDeactivate and resultForActivate are set to null in some situations in Android plugin #304
  • Test device activation, subscription, receiving messages and deactivation #153
  • Add docstring for "spec" folder #29

1.2.12

08 Feb 16:20
c11cb29

Choose a tag to compare

Full Changelog

Fixed bugs:

  • Android: IllegalStateException in Crypto CBCCipher's decrypt method #314, fixed by updating to ably-android version 1.2.11 #319 (QuintinWillison)
  • Android: java.lang.ArrayIndexOutOfBoundsException thrown by AblyInstanceStore's setPaginatedResult method #308, fixed in #321 (QuintinWillison)
  • ChannelStateChange property resumed should not be nullable #297, fixed in #313 (ikurek)
  • Deprecated Android embedding version #311, fixed in #312 (ikurek)

Merged pull requests:

  • Readme enchancements for example app #309 (ikurek)

1.2.11

24 Jan 17:17
76cbb30

Choose a tag to compare

Full Changelog

Reverted Bug Fix:

We made a change, released in version 1.2.9, which we suspect has been causing issues for some customers.
This release reverts that change.

Fixed bugs:

  • Customer reporting issue with NPE on Android push notifications #298

Merged pull requests:

1.2.10

20 Jan 16:56
22a1d3b

Choose a tag to compare

Full Changelog

Bug Fix:

This bug affects customers using message content encryption alongside channel history for a single Ably client instance. It only affects the iOS runtime (not an issue on Android). History REST requests, on iOS only, were incorrectly returning encrypted payloads,
despite encryption having been enabled via the Realtime channel setOptions API.

1.2.9

14 Jan 13:53
7fda913

Choose a tag to compare

Full Changelog

Bug Fixes:

1.2.8

10 Dec 16:08
07aedc6

Choose a tag to compare

Bug Fix:
Push activation not completing on iOS when running in release configuration #276,
fixed in #277 (ben-xD)

1.2.7

02 Dec 18:31
8e85a88

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Replace optional fields with default values #230
  • Refactor example app to be more readable #212
  • AuthCallback and InstanceStore Refactoring and documentation #250 (ben-xD)
  • Serialize LogLevel using constants #244 (ben-xD)
  • Replace deprecated method calls in tests #243 (ben-xD)
  • Example app: Paginated results viewer widget #242 (ben-xD)
  • Example app: Move out Realtime and Rest UI to separate widget and service #240 (ben-xD)
  • Example app: Extract System Details sliver into new widget #239 (ben-xD)
  • Hide API key secret inside API key UI #237 (ben-xD)
  • Rename pushSetOnBackgroundMessage to pushBackgroundFlutterApplicationReadyOnAndroid #236 (ben-xD)
  • Add default values to ClientOptions #233 (ben-xD)

Fixed bugs:

  • Clear iOS platform instances synchronously #249 (ben-xD)

Closed issues:

  • 1.2.6 java.lang.NullPointerException when stream fails to close #274
  • 1.2.6 java.lang.NullPointerException when using token auth #272
  • setMockMethodCallHandler is deprecated. Use tester.binding.defaultBinaryMessenger.setMockDecodedMessageHandler instead #173

Merged pull requests:

  • Rename inconsistent methods to be more consistent #248 (ben-xD)
  • Use Objective-C standard style for LogLevel enum #246 (ben-xD)
  • Platform encapsulation #235 (ben-xD)

1.2.6

25 Nov 10:17
9eab6d6

Choose a tag to compare

Full Changelog

Implemented enhancements:

  • Make the symmetric encryption UI more usable #229 (ben-xD)
  • Improve android logging: Remove unnecessary print statements, and use Log.w where necessary #228 (ben-xD)
  • iOS: add notification in RemoteMessage #224 (ben-xD)
  • Fix setOptions to complete the Future (previously did not call result.success) and remove side effects in example app #222 (ben-xD)

Fixed bugs:

  • iOS push notifications error handling: Stop sending FlutterError through MethodChannel. It is not supported and crashes the app. #214
  • Explicitly check types of tokenDetails, instead of using macro which … #256 (ben-xD)

Merged pull requests:

  • Docs improvement for Android push notifications #227 (ben-xD)
  • Reduce dart analysis warnings and hints and remove "Interface" classes (e.g. RealtimeInterface) #213 (ben-xD)
  • Remove unnecessary abstract classes #193 (ben-xD)

1.2.5

15 Nov 10:21
acf168e

Choose a tag to compare

1.2.5

Full Changelog

Implemented enhancements:

  • Enhancement/push UI improvement for debugging #218 (ben-xD)

Fixed bugs:

  • Handle error cases on iOS correctly, and simplify code #221 (ben-xD)
  • Fix app crashing when app is not yet started on some devices #215 (ben-xD)