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

Fixed argument error in Swift implementation of Crypto.generateRandomKey #377

Closed ikurek closed 2 years ago

ikurek commented 2 years ago

I've made a small regression when merging https://github.com/ably/ably-flutter/pull/371 and this PR should fix it. One of the methods in Crypto was not updated, causing errors with crypto key generation. It wasn't identified in tests, since I just recently added tests for Crypto module in https://github.com/ably/ably-flutter/pull/372.