Skip to content

Commit 18761a2

Browse files
authored
[video_player] Update minimum Flutter version to 3.3 and iOS 11 (#3328)
1 parent e2a911b commit 18761a2

File tree

15 files changed

+42
-20
lines changed

15 files changed

+42
-20
lines changed

packages/video_player/video_player/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.5.3
2+
3+
* Updates iOS minimum version in README.
4+
15
## 2.5.2
26

37
* Updates links for the merge of flutter/plugins into flutter/packages.

packages/video_player/video_player/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66

77
A Flutter plugin for iOS, Android and Web for playing back video on a Widget surface.
88

9-
| | Android | iOS | Web |
10-
|-------------|---------|------|-------|
11-
| **Support** | SDK 16+ | 9.0+ | Any\* |
9+
| | Android | iOS | Web |
10+
|-------------|---------|-------|-------|
11+
| **Support** | SDK 16+ | 11.0+ | Any\* |
1212

1313
![The example app running in iOS](https://github.com/flutter/packages/blob/main/packages/video_player/video_player/doc/demo_ipod.gif?raw=true)
1414

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<string>arm64</string>
2626
</array>
2727
<key>MinimumOSVersion</key>
28-
<string>9.0</string>
28+
<string>11.0</string>
2929
</dict>
3030
</plist>

packages/video_player/video_player/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/video_player/video_player/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 3 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 */
@@ -212,10 +212,12 @@
212212
/* Begin PBXShellScriptBuildPhase section */
213213
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
214214
isa = PBXShellScriptBuildPhase;
215+
alwaysOutOfDate = 1;
215216
buildActionMask = 2147483647;
216217
files = (
217218
);
218219
inputPaths = (
220+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
219221
);
220222
name = "Thin Binary";
221223
outputPaths = (
@@ -226,6 +228,7 @@
226228
};
227229
9740EEB61CF901F6004384FC /* Run Script */ = {
228230
isa = PBXShellScriptBuildPhase;
231+
alwaysOutOfDate = 1;
229232
buildActionMask = 2147483647;
230233
files = (
231234
);
@@ -339,7 +342,7 @@
339342
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
340343
GCC_WARN_UNUSED_FUNCTION = YES;
341344
GCC_WARN_UNUSED_VARIABLE = YES;
342-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
345+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
343346
MTL_ENABLE_DEBUG_INFO = YES;
344347
ONLY_ACTIVE_ARCH = YES;
345348
SDKROOT = iphoneos;
@@ -389,7 +392,7 @@
389392
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
390393
GCC_WARN_UNUSED_FUNCTION = YES;
391394
GCC_WARN_UNUSED_VARIABLE = YES;
392-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
395+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
393396
MTL_ENABLE_DEBUG_INFO = NO;
394397
SDKROOT = iphoneos;
395398
TARGETED_DEVICE_FAMILY = "1,2";

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,9 @@
5050
</array>
5151
<key>UIViewControllerBasedStatusBarAppearance</key>
5252
<false/>
53+
<key>CADisableMinimumFrameDurationOnPhone</key>
54+
<true/>
55+
<key>UIApplicationSupportsIndirectInputEvents</key>
56+
<true/>
5357
</dict>
5458
</plist>

packages/video_player/video_player/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description: Flutter plugin for displaying inline video with other Flutter
33
widgets on Android, iOS, and web.
44
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player
55
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
6-
version: 2.5.2
6+
version: 2.5.3
77

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

packages/video_player/video_player_avfoundation/CHANGELOG.md

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

37
* Updates links for the merge of flutter/plugins into flutter/packages.

packages/video_player/video_player_avfoundation/example/ios/Flutter/AppFrameworkInfo.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@
2525
<string>arm64</string>
2626
</array>
2727
<key>MinimumOSVersion</key>
28-
<string>9.0</string>
28+
<string>11.0</string>
2929
</dict>
3030
</plist>

packages/video_player/video_player_avfoundation/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/video_player/video_player_avfoundation/example/ios/Runner.xcodeproj/project.pbxproj

Lines changed: 7 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 */
@@ -269,7 +269,7 @@
269269
97C146E61CF9000F007C117D /* Project object */ = {
270270
isa = PBXProject;
271271
attributes = {
272-
LastUpgradeCheck = 1320;
272+
LastUpgradeCheck = 1300;
273273
ORGANIZATIONNAME = "The Flutter Authors";
274274
TargetAttributes = {
275275
97C146ED1CF9000F007C117D = {
@@ -338,10 +338,12 @@
338338
/* Begin PBXShellScriptBuildPhase section */
339339
3B06AD1E1E4923F5004D2608 /* Thin Binary */ = {
340340
isa = PBXShellScriptBuildPhase;
341+
alwaysOutOfDate = 1;
341342
buildActionMask = 2147483647;
342343
files = (
343344
);
344345
inputPaths = (
346+
"${TARGET_BUILD_DIR}/${INFOPLIST_PATH}",
345347
);
346348
name = "Thin Binary";
347349
outputPaths = (
@@ -352,6 +354,7 @@
352354
};
353355
9740EEB61CF901F6004384FC /* Run Script */ = {
354356
isa = PBXShellScriptBuildPhase;
357+
alwaysOutOfDate = 1;
355358
buildActionMask = 2147483647;
356359
files = (
357360
);
@@ -516,7 +519,7 @@
516519
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
517520
GCC_WARN_UNUSED_FUNCTION = YES;
518521
GCC_WARN_UNUSED_VARIABLE = YES;
519-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
522+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
520523
MTL_ENABLE_DEBUG_INFO = YES;
521524
ONLY_ACTIVE_ARCH = YES;
522525
SDKROOT = iphoneos;
@@ -566,7 +569,7 @@
566569
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
567570
GCC_WARN_UNUSED_FUNCTION = YES;
568571
GCC_WARN_UNUSED_VARIABLE = YES;
569-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
572+
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
570573
MTL_ENABLE_DEBUG_INFO = NO;
571574
SDKROOT = iphoneos;
572575
TARGETED_DEVICE_FAMILY = "1,2";

packages/video_player/video_player_avfoundation/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 = "1320"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

packages/video_player/video_player_avfoundation/example/ios/Runner/Info.plist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,9 @@
5050
</array>
5151
<key>UIViewControllerBasedStatusBarAppearance</key>
5252
<false/>
53+
<key>CADisableMinimumFrameDurationOnPhone</key>
54+
<true/>
55+
<key>UIApplicationSupportsIndirectInputEvents</key>
56+
<true/>
5357
</dict>
5458
</plist>

packages/video_player/video_player_avfoundation/ios/video_player_avfoundation.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,6 @@ Downloaded by pub (not CocoaPods).
1818
s.public_header_files = 'Classes/**/*.h'
1919
s.dependency 'Flutter'
2020

21-
s.platform = :ios, '9.0'
21+
s.platform = :ios, '11.0'
2222
s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' }
2323
end

packages/video_player/video_player_avfoundation/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@ name: video_player_avfoundation
22
description: iOS implementation of the video_player plugin.
33
repository: https://github.com/flutter/packages/tree/main/packages/video_player/video_player_avfoundation
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+video_player%22
5-
version: 2.3.9
5+
version: 2.4.0
66

77
environment:
8-
sdk: ">=2.14.0 <3.0.0"
9-
flutter: ">=3.0.0"
8+
sdk: ">=2.18.0 <3.0.0"
9+
flutter: ">=3.3.0"
1010

1111
flutter:
1212
plugin:

0 commit comments

Comments
 (0)