Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 0d70fcd

Browse files
committed
[in_app_purchase] Bump minimum Flutter version to 3.3 for iOS plugins
1 parent 54fc206 commit 0d70fcd

File tree

14 files changed

+38
-20
lines changed

14 files changed

+38
-20
lines changed

packages/in_app_purchase/in_app_purchase/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## NEXT
2+
3+
* Builds iOS example app on Flutter 3.3.
4+
15
## 3.1.0
26

37
* Adds macOS as a supported platform.

packages/in_app_purchase/in_app_purchase/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
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>8.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

packages/in_app_purchase/in_app_purchase/example/ios/Podfile

Lines changed: 1 addition & 1 deletion
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, '9.0'
2+
# platform :ios, '11.0'
33

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

packages/in_app_purchase/in_app_purchase/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 46;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -176,7 +176,7 @@
176176
isa = PBXProject;
177177
attributes = {
178178
DefaultBuildSystemTypeForWorkspace = Original;
179-
LastUpgradeCheck = 1100;
179+
LastUpgradeCheck = 1300;
180180
ORGANIZATIONNAME = "The Flutter Authors";
181181
TargetAttributes = {
182182
97C146ED1CF9000F007C117D = {
@@ -224,6 +224,7 @@
224224
/* Begin PBXShellScriptBuildPhase section */
225225
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
226226
isa = PBXShellScriptBuildPhase;
227+
alwaysOutOfDate = 1;
227228
buildActionMask = 2147483647;
228229
files = (
229230
);
@@ -256,6 +257,7 @@
256257
};
257258
9740EEB61CF901F6004384FC /* Run Script */ = {
258259
isa = PBXShellScriptBuildPhase;
260+
alwaysOutOfDate = 1;
259261
buildActionMask = 2147483647;
260262
files = (
261263
);
@@ -351,7 +353,7 @@
351353
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
352354
GCC_WARN_UNUSED_FUNCTION = YES;
353355
GCC_WARN_UNUSED_VARIABLE = YES;
354-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
356+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
355357
MTL_ENABLE_DEBUG_INFO = YES;
356358
ONLY_ACTIVE_ARCH = YES;
357359
SDKROOT = iphoneos;
@@ -401,7 +403,7 @@
401403
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
402404
GCC_WARN_UNUSED_FUNCTION = YES;
403405
GCC_WARN_UNUSED_VARIABLE = YES;
404-
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
406+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
405407
MTL_ENABLE_DEBUG_INFO = NO;
406408
SDKROOT = iphoneos;
407409
TARGETED_DEVICE_FAMILY = "1,2";

packages/in_app_purchase/in_app_purchase/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<Scheme
3-
LastUpgradeVersion = "1100"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

packages/in_app_purchase/in_app_purchase/example/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4448
</dict>
4549
</plist>

packages/in_app_purchase/in_app_purchase_storekit/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.5
2+
3+
* Updates minimum Flutter version to 3.3 and iOS 11.
4+
15
## 0.3.4
26

37
* Adds macOS as a supported platform.

packages/in_app_purchase/in_app_purchase_storekit/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
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>9.0</string>
24+
<string>11.0</string>
2525
</dict>
2626
</plist>

packages/in_app_purchase/in_app_purchase_storekit/example/ios/Podfile

Lines changed: 1 addition & 1 deletion
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, '9.0'
2+
# platform :ios, '11.0'
33

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

packages/in_app_purchase/in_app_purchase_storekit/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
archiveVersion = 1;
44
classes = {
55
};
6-
objectVersion = 50;
6+
objectVersion = 54;
77
objects = {
88

99
/* Begin PBXBuildFile section */
@@ -318,6 +318,7 @@
318318
/* Begin PBXShellScriptBuildPhase section */
319319
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
320320
isa = PBXShellScriptBuildPhase;
321+
alwaysOutOfDate = 1;
321322
buildActionMask = 2147483647;
322323
files = (
323324
);
@@ -354,6 +355,7 @@
354355
};
355356
9740EEB61CF901F6004384FC /* Run Script */ = {
356357
isa = PBXShellScriptBuildPhase;
358+
alwaysOutOfDate = 1;
357359
buildActionMask = 2147483647;
358360
files = (
359361
);
@@ -493,7 +495,7 @@
493495
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
494496
GCC_WARN_UNUSED_FUNCTION = YES;
495497
GCC_WARN_UNUSED_VARIABLE = YES;
496-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
498+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
497499
MTL_ENABLE_DEBUG_INFO = YES;
498500
ONLY_ACTIVE_ARCH = YES;
499501
SDKROOT = iphoneos;
@@ -543,7 +545,7 @@
543545
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
544546
GCC_WARN_UNUSED_FUNCTION = YES;
545547
GCC_WARN_UNUSED_VARIABLE = YES;
546-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
548+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
547549
MTL_ENABLE_DEBUG_INFO = NO;
548550
SDKROOT = iphoneos;
549551
TARGETED_DEVICE_FAMILY = "1,2";

packages/in_app_purchase/in_app_purchase_storekit/example/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,9 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
46+
<key>UIApplicationSupportsIndirectInputEvents</key>
47+
<true/>
4448
</dict>
4549
</plist>

packages/in_app_purchase/in_app_purchase_storekit/example/shared/RunnerTests/TranslatorTests.m

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,10 @@ - (void)testErrorWithUnsupportedUserInfo {
224224
}
225225

226226
- (void)testLocaleToMap {
227-
if (@available(iOS 10.0, *)) {
228-
NSLocale *system = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
229-
NSDictionary *map = [FIAObjectTranslator getMapFromNSLocale:system];
230-
XCTAssertEqualObjects(map[@"currencySymbol"], system.currencySymbol);
231-
XCTAssertEqualObjects(map[@"countryCode"], system.countryCode);
232-
}
227+
NSLocale *system = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
228+
NSDictionary *map = [FIAObjectTranslator getMapFromNSLocale:system];
229+
XCTAssertEqualObjects(map[@"currencySymbol"], system.currencySymbol);
230+
XCTAssertEqualObjects(map[@"countryCode"], system.countryCode);
233231
}
234232

235233
- (void)testSKStorefrontToMap {

packages/in_app_purchase/in_app_purchase_storekit/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: in_app_purchase_storekit
22
description: An implementation for the iOS and macOS platforms of the Flutter `in_app_purchase` plugin. This uses the StoreKit Framework.
33
repository: https://github.com/flutter/plugins/tree/main/packages/in_app_purchase/in_app_purchase_storekit
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+in_app_purchase%22
5-
version: 0.3.4
5+
version: 0.3.5
66

77
environment:
88
sdk: ">=2.14.0 <3.0.0"

packages/in_app_purchase/in_app_purchase_storekit/shared/in_app_purchase_storekit.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Downloaded by pub (not CocoaPods).
2020
s.public_header_files = 'Classes/**/*.h'
2121
s.ios.dependency 'Flutter'
2222
s.osx.dependency 'FlutterMacOS'
23-
s.ios.deployment_target = '9.0'
23+
s.ios.deployment_target = '11.0'
2424
s.osx.deployment_target = '10.15'
2525
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2626
end

0 commit comments

Comments
 (0)