-
Notifications
You must be signed in to change notification settings - Fork 53
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
[URGENT] 4.6.0 breaks building mobile-only apps #81
Comments
Line 4 of src/requests.dart: import 'package:http/http.dart'
if (dart.library.html) 'package:http/browser_client.dart'
if (dart.library.io) 'package:http/io_client.dart'; |
This would overwrite the import of import 'package:http/browser_client.dart' if (dart.library.io) ''; |
While I try to fix the issue, I've retracted the release from pub.dev. |
Thanks a million... |
I hope the 4.7.0 will not break anything. I've tested it on android, linux and web so it should be ok. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Please check my comment on your last commit.
4.6.0 breaks building for mobile only platforms by unconditionally importing
browser_client.dart
, which is available only on webTo Reproduce
requests
main.dart
Expected behavior
Compile
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: