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

Read authUrl as NSURL #466

Closed ikbalkaya closed 1 year ago

ikbalkaya commented 1 year ago

authUrl was being read as string which wasn't treated as an error as type mismatch is allowed in Objective C.

This PR fixes this using authURL as NSURL

Also it turned out that ably-java didn't like authUrl having token as query string parameter. That's why I made a change on ably-java and upgraded its version here

Fixes https://github.com/ably/ably-flutter/issues/465