diff --git a/permission_handler_android/CHANGELOG.md b/permission_handler_android/CHANGELOG.md index 7a0a29de3..5f831507a 100644 --- a/permission_handler_android/CHANGELOG.md +++ b/permission_handler_android/CHANGELOG.md @@ -1,3 +1,10 @@ +## 13.0.0 + +- **BREAKING CHANGES:** When updating to version 13.0.0 make sure to also set the `compileSdkVersion` in the `app/build.gradle` file to `35`. +- Updates Android `compileSdkVersion: 33` to `35` +- Updates Android `com.android.tools.build:gradle:8.0.0` to `com.android.tools.build:gradle:8.0.2` +- Updates Android `sourceCompatibility = JavaVersion.VERSION_1_8` to `sourceCompatibility = JavaVersion.VERSION_17` + ## 12.1.0 - Updates the package to correctly support Flutter 3.29. diff --git a/permission_handler_android/android/build.gradle b/permission_handler_android/android/build.gradle index 8545dc8f4..fff4a308b 100644 --- a/permission_handler_android/android/build.gradle +++ b/permission_handler_android/android/build.gradle @@ -8,7 +8,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:8.0.0' + classpath 'com.android.tools.build:gradle:8.0.2' } } @@ -26,11 +26,11 @@ android { if (project.android.hasProperty("namespace")) { namespace 'com.baseflow.permissionhandler' } - compileSdk 34 + compileSdkVersion 35 compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } defaultConfig { diff --git a/permission_handler_android/example/android/app/build.gradle b/permission_handler_android/example/android/app/build.gradle index 56eb5bdf2..04ce10422 100644 --- a/permission_handler_android/example/android/app/build.gradle +++ b/permission_handler_android/example/android/app/build.gradle @@ -28,13 +28,13 @@ if (flutterVersionName == null) { android { namespace 'com.baseflow.permissionhandler.example' - compileSdk 34 + compileSdkVersion 35 defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.baseflow.permissionhandler.example" minSdkVersion flutter.minSdkVersion - targetSdkVersion 34 + targetSdkVersion 35 versionCode flutterVersionCode.toInteger() versionName flutterVersionName } diff --git a/permission_handler_android/pubspec.yaml b/permission_handler_android/pubspec.yaml index c0be53cd2..50ce0dd20 100644 --- a/permission_handler_android/pubspec.yaml +++ b/permission_handler_android/pubspec.yaml @@ -1,7 +1,7 @@ name: permission_handler_android description: Permission plugin for Flutter. This plugin provides the Android API to request and check permissions. homepage: https://github.com/baseflow/flutter-permission-handler -version: 12.1.0 +version: 13.0.0 environment: sdk: ^3.5.0