From a2f3c1db0348196940a3a73b7d96b8e21ab7482a Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 2 Nov 2023 15:58:29 -0700 Subject: [PATCH] Require package:jni >= 0.7.1 to fix macOS build (#1041) --- pkgs/cronet_http/CHANGELOG.md | 3 +++ pkgs/cronet_http/pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/cronet_http/CHANGELOG.md b/pkgs/cronet_http/CHANGELOG.md index e415bf641f..2947efb663 100644 --- a/pkgs/cronet_http/CHANGELOG.md +++ b/pkgs/cronet_http/CHANGELOG.md @@ -1,4 +1,7 @@ ## 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. diff --git a/pkgs/cronet_http/pubspec.yaml b/pkgs/cronet_http/pubspec.yaml index 70d56f7788..451df156a8 100644 --- a/pkgs/cronet_http/pubspec.yaml +++ b/pkgs/cronet_http/pubspec.yaml @@ -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