From 5d11eb112c880ea9b554665ff6bf8821d0036b05 Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 2 Nov 2023 12:51:34 -0700 Subject: [PATCH] Require package:jni >= 0.7.1 to fix macOS build --- pkgs/cronet_http/CHANGELOG.md | 5 +++++ pkgs/cronet_http/pubspec.yaml | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/pkgs/cronet_http/CHANGELOG.md b/pkgs/cronet_http/CHANGELOG.md index 6d230165b7..7ddf2edad5 100644 --- a/pkgs/cronet_http/CHANGELOG.md +++ b/pkgs/cronet_http/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.4.1 + +* Require `package:jni >= 0.7.1` so that depending on `package:cronet_http` + does not break macOS builds. + ## 0.4.0 * Use more efficient operations when copying bytes between Java and Dart. diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 37ba7afcbd..451df156a8 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -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: @@ -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