-
Notifications
You must be signed in to change notification settings - Fork 228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pass URI instead of string for all http requests. Fails with latest null safety plugins (http package) #127
Comments
It is fixed in the master but not released yet. You can temporarily add this to your
|
I am also facing same issue after flutter upgraded to latest version Please make sure you have the correct access rights |
updating to |
Yes upgrading to nullsafety.5 solved the problem for me. |
Thanks @sgelves, it solved the problem for me. It still hasn't been released however, which is very disappointing. |
My app build failing with below errors
../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_webservice-0.0.19/lib/src/utils.dart:61:27: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
- 'Uri' is from 'dart:core'.
return httpClient.get(url, headers: headers);
^
../../../flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_webservice-0.0.19/lib/src/utils.dart:74:28: Error: The argument type 'String' can't be assigned to the parameter type 'Uri'.
- 'Uri' is from 'dart:core'.
return httpClient.post(url, body: body, headers: postHeaders);
The text was updated successfully, but these errors were encountered: