From f79a3af413f08332b93568ef70360bb2eb243b3d Mon Sep 17 00:00:00 2001 From: tim Hoogstrate Date: Wed, 9 Apr 2025 15:30:54 +0200 Subject: [PATCH 1/4] updated bug in README documentation about the compileSDK version --- permission_handler/CHANGELOG.md | 4 ++++ permission_handler/README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/permission_handler/CHANGELOG.md b/permission_handler/CHANGELOG.md index 1db3f5eba..2036ee1b2 100644 --- a/permission_handler/CHANGELOG.md +++ b/permission_handler/CHANGELOG.md @@ -1,3 +1,7 @@ +## NEXT + +* Updated README documentation from `compileSdkVersion 33` to `compileSdkVersion 35` + ## 12.0.0 * **BREAKING CHANGE:** Updates `permission_handler_android` dependency to version 13.0.0. Updated Android `compileSdkVersion` to `35` . diff --git a/permission_handler/README.md b/permission_handler/README.md index 0ef5377b5..cf268e369 100644 --- a/permission_handler/README.md +++ b/permission_handler/README.md @@ -37,7 +37,7 @@ android.enableJetifier=true ```gradle android { - compileSdkVersion 33 + compileSdkVersion 35 ... } ``` From 2b1b26d41392cc0917e39f45eb1149b8875d0233 Mon Sep 17 00:00:00 2001 From: tim Hoogstrate Date: Wed, 9 Apr 2025 15:34:43 +0200 Subject: [PATCH 2/4] updated changelog --- permission_handler/CHANGELOG.md | 2 +- permission_handler/pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/permission_handler/CHANGELOG.md b/permission_handler/CHANGELOG.md index 2036ee1b2..172d18294 100644 --- a/permission_handler/CHANGELOG.md +++ b/permission_handler/CHANGELOG.md @@ -1,4 +1,4 @@ -## NEXT +## 12.0.0+1 * Updated README documentation from `compileSdkVersion 33` to `compileSdkVersion 35` diff --git a/permission_handler/pubspec.yaml b/permission_handler/pubspec.yaml index c2febf43a..1f487c397 100644 --- a/permission_handler/pubspec.yaml +++ b/permission_handler/pubspec.yaml @@ -2,7 +2,7 @@ name: permission_handler description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions. repository: https://github.com/baseflow/flutter-permission-handler issue_tracker: https://github.com/Baseflow/flutter-permission-handler/issues -version: 12.0.0 +version: 12.0.0+1 environment: From b96acb1c127772b7f15b339fcc5d4ae6e27b9e06 Mon Sep 17 00:00:00 2001 From: tim Hoogstrate Date: Wed, 9 Apr 2025 15:51:29 +0200 Subject: [PATCH 3/4] updates example project after flutter build ios --- .../ios/Flutter/AppFrameworkInfo.plist | 2 +- permission_handler/example/ios/Podfile | 2 +- .../ios/Runner.xcodeproj/project.pbxproj | 26 ++++++++++++++++--- .../xcshareddata/xcschemes/Runner.xcscheme | 3 ++- .../example/ios/Runner/AppDelegate.swift | 2 +- 5 files changed, 27 insertions(+), 8 deletions(-) diff --git a/permission_handler/example/ios/Flutter/AppFrameworkInfo.plist b/permission_handler/example/ios/Flutter/AppFrameworkInfo.plist index 9625e105d..7c5696400 100644 --- a/permission_handler/example/ios/Flutter/AppFrameworkInfo.plist +++ b/permission_handler/example/ios/Flutter/AppFrameworkInfo.plist @@ -21,6 +21,6 @@ CFBundleVersion 1.0 MinimumOSVersion - 11.0 + 12.0 diff --git a/permission_handler/example/ios/Podfile b/permission_handler/example/ios/Podfile index 008edb50d..460b3a9f4 100644 --- a/permission_handler/example/ios/Podfile +++ b/permission_handler/example/ios/Podfile @@ -1,5 +1,5 @@ # Uncomment this line to define a global platform for your project -# platform :ios, '11.0' +# platform :ios, '12.0' # CocoaPods analytics sends network stats synchronously affecting flutter build latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' diff --git a/permission_handler/example/ios/Runner.xcodeproj/project.pbxproj b/permission_handler/example/ios/Runner.xcodeproj/project.pbxproj index 5b918732b..ff1fc1be5 100644 --- a/permission_handler/example/ios/Runner.xcodeproj/project.pbxproj +++ b/permission_handler/example/ios/Runner.xcodeproj/project.pbxproj @@ -141,6 +141,7 @@ 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, D38B08CB85942E5D11545EE3 /* [CP] Embed Pods Frameworks */, + 556E38485A882BF68F5CC7A7 /* [CP] Copy Pods Resources */, ); buildRules = ( ); @@ -157,7 +158,7 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 1430; + LastUpgradeCheck = 1510; ORGANIZATIONNAME = ""; TargetAttributes = { 97C146ED1CF9000F007C117D = { @@ -215,6 +216,23 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; }; + 556E38485A882BF68F5CC7A7 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; 5CF31A8C72B66ABB365E813D /* [CP] Check Pods Manifest.lock */ = { isa = PBXShellScriptBuildPhase; buildActionMask = 2147483647; @@ -344,7 +362,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; @@ -430,7 +448,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -479,7 +497,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.0; + IPHONEOS_DEPLOYMENT_TARGET = 12.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SUPPORTED_PLATFORMS = iphoneos; diff --git a/permission_handler/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/permission_handler/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index a6b826db2..c53e2b314 100644 --- a/permission_handler/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/permission_handler/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ diff --git a/permission_handler/example/ios/Runner/AppDelegate.swift b/permission_handler/example/ios/Runner/AppDelegate.swift index 70693e4a8..b63630348 100644 --- a/permission_handler/example/ios/Runner/AppDelegate.swift +++ b/permission_handler/example/ios/Runner/AppDelegate.swift @@ -1,7 +1,7 @@ import UIKit import Flutter -@UIApplicationMain +@main @objc class AppDelegate: FlutterAppDelegate { override func application( _ application: UIApplication, From 5474988c0202967e8bfa584ec69ee8b3931e90a3 Mon Sep 17 00:00:00 2001 From: tim Hoogstrate Date: Wed, 9 Apr 2025 15:59:13 +0200 Subject: [PATCH 4/4] updated changelog --- permission_handler/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/permission_handler/CHANGELOG.md b/permission_handler/CHANGELOG.md index 172d18294..62f05e104 100644 --- a/permission_handler/CHANGELOG.md +++ b/permission_handler/CHANGELOG.md @@ -1,6 +1,7 @@ ## 12.0.0+1 * Updated README documentation from `compileSdkVersion 33` to `compileSdkVersion 35` +* Updates example project `IPHONEOS_DEPLOYMENT_TARGET = 11.0` to `12.0` ## 12.0.0