Skip to content
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions permission_handler_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
## 12.1.1

> **IMPORTANT:** When updating to version 12.1.1 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.
Expand Down
8 changes: 4 additions & 4 deletions permission_handler_android/android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
}

dependencies {
classpath 'com.android.tools.build:gradle:8.0.0'
classpath 'com.android.tools.build:gradle:8.0.2'
}
}

Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions permission_handler_android/example/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion permission_handler_android/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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: 12.1.1

environment:
sdk: ^3.5.0
Expand Down