Closed mat100payette closed 3 years ago
Thanks for reporting @mat100payette ,
1.0.0-nullsafety.0
wasn't actually tested yet and can contain errors.
If you have some time please investigate and contribute.
The problem is with the http.post
in client.dart. It parses the URL incorrectly. The package needs to use Uri.parse
, which doesn't work with String?
.
Hey @zelliot ,
Thanks, please try 1.0.0-nullsafety.1
Unfortunately still not working. I left a comment on the commit.
You need to change Line 45 to Uri.parse(endpointReq!),
@zelliot plz try 1.0.0-nullsafety.2
Works perfectly now. Thanks @furaiev!
I confirm that this has been fixed. Thanks.
Tried upgrading to
1.0.0-nullsafety.0
but the login broke.Going into
authenticateUser
, then_authenticateUserDefaultAuth(...)
, I see thatdata = await client!.request('InitiateAuth', await _analyticsMetadataParamsDecorator.call(params));
throws with the following:The same code works using
0.1.25+1
.