Skip to content

Commit 12d865c

Browse files
authored
Merge pull request #646 from WilliamViktorsson/master
Fix to videos recorded with an orientation of 180° ( landscapeRight) being reversed on Android
2 parents 7b3b839 + 8109092 commit 12d865c

File tree

6 files changed

+25
-32
lines changed

6 files changed

+25
-32
lines changed

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>9.0</string>
2525
</dict>
2626
</plist>

example/ios/Runner.xcodeproj/project.pbxproj

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

99
/* Begin PBXBuildFile section */
@@ -140,7 +140,6 @@
140140
9705A1C41CF9048500538489 /* Embed Frameworks */,
141141
3B06AD1E1E4923F5004D2608 /* Thin Binary */,
142142
0240D76E8E4A95E29E9E4168 /* [CP] Embed Pods Frameworks */,
143-
4CAACB144009B74B91C1D6A8 /* [CP] Copy Pods Resources */,
144143
);
145144
buildRules = (
146145
);
@@ -157,7 +156,7 @@
157156
97C146E61CF9000F007C117D /* Project object */ = {
158157
isa = PBXProject;
159158
attributes = {
160-
LastUpgradeCheck = 1020;
159+
LastUpgradeCheck = 1300;
161160
ORGANIZATIONNAME = "";
162161
TargetAttributes = {
163162
97C146ED1CF9000F007C117D = {
@@ -252,23 +251,6 @@
252251
shellPath = /bin/sh;
253252
shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin";
254253
};
255-
4CAACB144009B74B91C1D6A8 /* [CP] Copy Pods Resources */ = {
256-
isa = PBXShellScriptBuildPhase;
257-
buildActionMask = 2147483647;
258-
files = (
259-
);
260-
inputFileListPaths = (
261-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-input-files.xcfilelist",
262-
);
263-
name = "[CP] Copy Pods Resources";
264-
outputFileListPaths = (
265-
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources-${CONFIGURATION}-output-files.xcfilelist",
266-
);
267-
runOnlyForDeploymentPostprocessing = 0;
268-
shellPath = /bin/sh;
269-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-resources.sh\"\n";
270-
showEnvVarsInLog = 0;
271-
};
272254
9740EEB61CF901F6004384FC /* Run Script */ = {
273255
isa = PBXShellScriptBuildPhase;
274256
buildActionMask = 2147483647;
@@ -376,7 +358,10 @@
376358
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
377359
ENABLE_BITCODE = NO;
378360
INFOPLIST_FILE = Runner/Info.plist;
379-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
361+
LD_RUNPATH_SEARCH_PATHS = (
362+
"$(inherited)",
363+
"@executable_path/Frameworks",
364+
);
380365
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
381366
PRODUCT_NAME = "$(TARGET_NAME)";
382367
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -500,7 +485,10 @@
500485
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
501486
ENABLE_BITCODE = NO;
502487
INFOPLIST_FILE = Runner/Info.plist;
503-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
488+
LD_RUNPATH_SEARCH_PATHS = (
489+
"$(inherited)",
490+
"@executable_path/Frameworks",
491+
);
504492
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
505493
PRODUCT_NAME = "$(TARGET_NAME)";
506494
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
@@ -519,7 +507,10 @@
519507
CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)";
520508
ENABLE_BITCODE = NO;
521509
INFOPLIST_FILE = Runner/Info.plist;
522-
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
510+
LD_RUNPATH_SEARCH_PATHS = (
511+
"$(inherited)",
512+
"@executable_path/Frameworks",
513+
);
523514
PRODUCT_BUNDLE_IDENTIFIER = com.example.example;
524515
PRODUCT_NAME = "$(TARGET_NAME)";
525516
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";

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 = "1020"
3+
LastUpgradeVersion = "1300"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

example/ios/Runner/Info.plist

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,7 @@
4141
</array>
4242
<key>UIViewControllerBasedStatusBarAppearance</key>
4343
<false/>
44+
<key>CADisableMinimumFrameDurationOnPhone</key>
45+
<true/>
4446
</dict>
4547
</plist>

example/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dependencies:
1515
dev_dependencies:
1616
flutter_test:
1717
sdk: flutter
18-
lint: ^1.7.2
18+
lint: ^1.8.2
1919

2020
# For information on the generic Dart part of this file, see the
2121
# following page: https://www.dartlang.org/tools/pub/pubspec

pubspec.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ environment:
88
flutter: '>=1.22.0'
99

1010
dependencies:
11-
cupertino_icons: ^1.0.3
11+
cupertino_icons: ^1.0.5
1212
flutter:
1313
sdk: flutter
14-
provider: ^6.0.1
15-
video_player: ^2.2.7
16-
wakelock: ^0.6.1+1
14+
provider: ^6.0.3
15+
video_player: ^2.4.4
16+
wakelock: ^0.6.1+2
1717

1818
dev_dependencies:
1919
flutter_test:
2020
sdk: flutter
21-
lint: ^1.7.2
22-
very_good_analysis: ^2.4.0
21+
lint: ^1.8.2
22+
very_good_analysis: ^3.0.0
2323

2424
flutter:
2525
uses-material-design: true

0 commit comments

Comments
 (0)