Skip to content

Commit c438a1f

Browse files
updated bug in README documentation about the compileSDK version (#1466)
* updated bug in README documentation about the compileSDK version * updated changelog * updates example project after flutter build ios * updated changelog
1 parent de516a4 commit c438a1f

File tree

8 files changed

+34
-10
lines changed

8 files changed

+34
-10
lines changed

permission_handler/CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 12.0.0+1
2+
3+
* Updated README documentation from `compileSdkVersion 33` to `compileSdkVersion 35`
4+
* Updates example project `IPHONEOS_DEPLOYMENT_TARGET = 11.0` to `12.0`
5+
16
## 12.0.0
27

38
* **BREAKING CHANGE:** Updates `permission_handler_android` dependency to version 13.0.0. Updated Android `compileSdkVersion` to `35` .

permission_handler/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ android.enableJetifier=true
3737

3838
```gradle
3939
android {
40-
compileSdkVersion 33
40+
compileSdkVersion 35
4141
...
4242
}
4343
```

permission_handler/example/ios/Flutter/AppFrameworkInfo.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
<key>CFBundleVersion</key>
2222
<string>1.0</string>
2323
<key>MinimumOSVersion</key>
24-
<string>11.0</string>
24+
<string>12.0</string>
2525
</dict>
2626
</plist>

permission_handler/example/ios/Podfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Uncomment this line to define a global platform for your project
2-
# platform :ios, '11.0'
2+
# platform :ios, '12.0'
33

44
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
55
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

permission_handler/example/ios/Runner.xcodeproj/project.pbxproj

+22-4
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
9705A1C41CF9048500538489 /* Embed Frameworks */,
142142
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
143143
D38B08CB85942E5D11545EE3 /* [CP] Embed Pods Frameworks */,
144+
556E38485A882BF68F5CC7A7 /* [CP] Copy Pods Resources */,
144145
);
145146
buildRules = (
146147
);
@@ -157,7 +158,7 @@
157158
97C146E61CF9000F007C117D /* Project object */ = {
158159
isa = PBXProject;
159160
attributes = {
160-
LastUpgradeCheck = 1430;
161+
LastUpgradeCheck = 1510;
161162
ORGANIZATIONNAME = "";
162163
TargetAttributes = {
163164
97C146ED1CF9000F007C117D = {
@@ -215,6 +216,23 @@
215216
shellPath = /bin/sh;
216217
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
217218
};
219+
556E38485A882BF68F5CC7A7 /* [CP] Copy Pods Resources */ = {
220+
isa = PBXShellScriptBuildPhase;
221+
buildActionMask = 2147483647;
222+
files = (
223+
);
224+
inputFileListPaths = (
225+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
226+
);
227+
name = "[CP] Copy Pods Resources";
228+
outputFileListPaths = (
229+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
230+
);
231+
runOnlyForDeploymentPostprocessing = 0;
232+
shellPath = /bin/sh;
233+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
234+
showEnvVarsInLog = 0;
235+
};
218236
5CF31A8C72B66ABB365E813D /* [CP] Check Pods Manifest.lock */ = {
219237
isa = PBXShellScriptBuildPhase;
220238
buildActionMask = 2147483647;
@@ -344,7 +362,7 @@
344362
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
345363
GCC_WARN_UNUSED_FUNCTION = YES;
346364
GCC_WARN_UNUSED_VARIABLE = YES;
347-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
365+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
348366
MTL_ENABLE_DEBUG_INFO = NO;
349367
SDKROOT = iphoneos;
350368
SUPPORTED_PLATFORMS = iphoneos;
@@ -430,7 +448,7 @@
430448
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
431449
GCC_WARN_UNUSED_FUNCTION = YES;
432450
GCC_WARN_UNUSED_VARIABLE = YES;
433-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
451+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
434452
MTL_ENABLE_DEBUG_INFO = YES;
435453
ONLY_ACTIVE_ARCH = YES;
436454
SDKROOT = iphoneos;
@@ -479,7 +497,7 @@
479497
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
480498
GCC_WARN_UNUSED_FUNCTION = YES;
481499
GCC_WARN_UNUSED_VARIABLE = YES;
482-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
500+
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
483501
MTL_ENABLE_DEBUG_INFO = NO;
484502
SDKROOT = iphoneos;
485503
SUPPORTED_PLATFORMS = iphoneos;

permission_handler/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1430"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"
@@ -48,6 +48,7 @@
4848
ignoresPersistentStateOnLaunch = "NO"
4949
debugDocumentVersioning = "YES"
5050
debugServiceExtension = "internal"
51+
enableGPUValidationMode = "1"
5152
allowLocationSimulation = "YES">
5253
<BuildableProductRunnable
5354
runnableDebuggingMode = "0">

permission_handler/example/ios/Runner/AppDelegate.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import UIKit
22
import Flutter
33

4-
@UIApplicationMain
4+
@main
55
@objc class AppDelegate: FlutterAppDelegate {
66
override func application(
77
_ application: UIApplication,

permission_handler/pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: permission_handler
22
description: Permission plugin for Flutter. This plugin provides a cross-platform (iOS, Android) API to request and check permissions.
33
repository: https://github.com/baseflow/flutter-permission-handler
44
issue_tracker: https://github.com/Baseflow/flutter-permission-handler/issues
5-
version: 12.0.0
5+
version: 12.0.0+1
66

77

88
environment:

0 commit comments

Comments
 (0)