Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into web-configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
brianquinlan committed Nov 2, 2023
2 parents aa22608 + a2f3c1d commit b69aeb9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions pkgs/cronet_http/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 0.4.1

* Require `package:jni >= 0.7.1` so that depending on `package:cronet_http`
does not break macOS builds.

* Fix obsolete `CronetClient()` constructor usage.

## 0.4.0

* Use more efficient operations when copying bytes between Java and Dart.
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/lib/cronet_http.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
/// import 'package:cronet_http/cronet_http.dart';
///
/// void main() async {
/// var client = CronetClient();
/// var client = CronetClient.defaultCronetEngine();
/// final response = await client.get(
/// Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'}));
/// if (response.statusCode != 200) {
Expand Down
2 changes: 1 addition & 1 deletion pkgs/cronet_http/lib/src/cronet_client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ jb.UrlRequestCallbackProxy_UrlRequestCallbackInterface _urlRequestCallbacks(
/// For example:
/// ```
/// void main() async {
/// var client = CronetClient();
/// var client = CronetClient.defaultCronetEngine();
/// final response = await client.get(
/// Uri.https('www.googleapis.com', '/books/v1/volumes', {'q': '{http}'}));
/// if (response.statusCode != 200) {
Expand Down
4 changes: 2 additions & 2 deletions pkgs/cronet_http/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: cronet_http
description: >
An Android Flutter plugin that provides access to the Cronet HTTP client.
version: 0.4.0
version: 0.4.1
repository: https://github.com/dart-lang/http/tree/master/pkgs/cronet_http

environment:
Expand All @@ -12,7 +12,7 @@ dependencies:
flutter:
sdk: flutter
http: '>=0.13.4 <2.0.0'
jni: ^0.7.0
jni: ^0.7.1

dev_dependencies:
dart_flutter_team_lints: ^1.0.0
Expand Down

0 comments on commit b69aeb9

Please sign in to comment.