Skip to content

Commit 95891d4

Browse files
authored
fix(cronet_http): Set compileSdkVersion to 35 (#1869)
This is the version required by `package:jni`.
1 parent a0cdb38 commit 95891d4

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

pkgs/cronet_http/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
* Made callbacks asynchronous to prevent background errors caused by the
44
unavailability of the Dart callback.
5+
* Change the compile SDK version to 35 for compatibility with `package:jni`.
56

67
## 1.7.0
78

pkgs/cronet_http/android/build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ android {
2828
namespace 'io.flutter.plugins.cronet_http'
2929
}
3030

31-
compileSdkVersion 34
31+
// package:jni requires compileSdkVersion 35
32+
compileSdkVersion 35
3233

3334
compileOptions {
3435
sourceCompatibility JavaVersion.VERSION_11

0 commit comments

Comments
 (0)