From 8d0b27773119a00619914e67a7b7dd96a091c9e9 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 28 Jun 2022 17:27:18 -0700 Subject: [PATCH] upgrade android kotlin + work package for android 12 --- android/app/build.gradle | 5 ++++- pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/android/app/build.gradle b/android/app/build.gradle index 7fc72e37..3a6ade41 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -99,7 +99,10 @@ dependencies { //implementation("androidx.work:work-runtime:$work_version") // Kotlin + coroutines - implementation("androidx.work:work-runtime-ktx:2.5.0") + // 2022.06: upgraded from 2.5 to 2.7 for android 12 + // err: "requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent" + // as per https://github.com/flutter/flutter/issues/93609 + implementation 'androidx.work:work-runtime-ktx:2.7.0' // optional - RxJava2 support //implementation("androidx.work:work-rxjava2:$work_version") diff --git a/pubspec.yaml b/pubspec.yaml index d4d2b561..93e4710e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.8.0+31 +version: 1.8.0+32 environment: sdk: ">=2.15.0 <3.0.0" -- 2.25.1