Skip to content

Commit 2e95b5e

Browse files
reidbakerandroidseb
authored andcommitted
[flutter_plugin_android_lifecycle] use flutter.compileSdkVersion to see what breaks (flutter#8700)
Related to flutter/flutter/issues/149836 The entire repo uses compile sdk 34 so this a change to 35 but tooling changes are supposed to be safe. Aditionally most projects uses flutter.targetSdkVersion which means that they are using tools at api 34 but targeting 35 which is not ok. This pr is a canary to see if any unexpected issues pop up and to validate that we agree on if a version/changelog change is required. The second part will update this for all plugins.
1 parent 4fed5ad commit 2e95b5e

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/flutter_plugin_android_lifecycle/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.25
2+
3+
* Updates compileSdk 35 to flutter.compileSdkVersion.
4+
15
## 2.0.24
26

37
* Updates annotation to 1.9.1.

packages/flutter_plugin_android_lifecycle/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ apply plugin: 'com.android.library'
2323

2424
android {
2525
namespace 'io.flutter.plugins.flutter_plugin_android_lifecycle'
26-
compileSdk 34
26+
compileSdk flutter.compileSdkVersion
2727

2828
defaultConfig {
2929
minSdkVersion 19

packages/flutter_plugin_android_lifecycle/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: flutter_plugin_android_lifecycle
22
description: Flutter plugin for accessing an Android Lifecycle within other plugins.
33
repository: https://github.com/flutter/packages/tree/main/packages/flutter_plugin_android_lifecycle
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+flutter_plugin_android_lifecycle%22
5-
version: 2.0.24
5+
version: 2.0.25
66

77
environment:
88
sdk: ^3.5.0

0 commit comments

Comments
 (0)