Brian Quinlan

Results 168 comments of Brian Quinlan

> Any updates on this? No. Until Dart supports [Native assets](https://github.com/dart-lang/sdk/issues/50565) there isn't a good solution for this problem. What is your use case? We have [http.testing](https://pub.dev/documentation/http/latest/http.testing/http.testing-library.html) for testing.

`java_http_base.dart` can go. `java_http_example.dart` should probably be replaced with the same example as used in `cronet_http`/`cupertino_http`.

Hi @delfme , I'm not sure why this happens? Does this happen while your app is in the foreground, background or both? Do you have the [`com.apple.security.network.client`](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_network_client?language=objc) entitlement set?

Actually, the entitlement is not relevant for your configuration. There isn't really much for me to use to diagnose the problem here. Do you see an error if you use...

Since `CupertinoClient` relies on Apple APIs for network transport, any bugs related to network conditions would most likely be related to those APIs. Regarding https://github.com/dart-lang/http/issues/972#issuecomment-1622546678 - I meant have you...

Copied from https://github.com/dart-lang/http/issues/785#issuecomment-1760139241 @delfme Could you confirm that this only happens with Hot Restart?

I think that we will have to live with this until https://github.com/flutter/flutter/issues/75528 is fixed.

Hi @mleevi Thanks for the bug report! This issue is very surprising - it looks like your device doesn't have a Cronet implementation available. Cronet is normally bundled with Google...

From https://github.com/dart-lang/http/issues/974: Could you include the stream that you are sending? AFAIK, `_hasData` is only buffering the first non-empty List in the stream. `_streamToNSInputStream` is only providing data when requested...

@seifibrahim32 What is your plan for fixing this?