Skip to content

Commit 9672b4a

Browse files
sarbagyasthaRaphiTobiabalmagdlongtn-imt
authored
Version 9.1.0 sync (#1002)
* fix navigation pop error by canceling PopScope action if pop is alredy confirmed * - Refactor PopScope to pop if the player is not in fullscreen instead of always false. - Remove `Navigator.pop` inside `onPopInvokedWithResult` to avoid issues with external navigation (Example: Pressing dialog barrier, or using an external navigation solution) * 🎨 formaating fixes * fix: Full Screen in Landscape mode cut the video #621 (#962) * Full Screen in Landscape mode cut the video #621 * Full Screen in Landscape mode cut the video #621 * 🎨 minor changes * 🔖 bumped version * minor change * Version 9.1.0 (#1001) * 👽 bumped version * ⬆️ upgraded flutter_inappwebview * 👽 macos changes --------- Co-authored-by: RaphiTobi <[email protected]> Co-authored-by: abulmajd <[email protected]> Co-authored-by: Nhật Long <[email protected]>
1 parent 79e22d8 commit 9672b4a

File tree

16 files changed

+221
-51
lines changed

16 files changed

+221
-51
lines changed

.gitignore

Lines changed: 41 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -53,43 +53,50 @@ unlinked.ds
5353
unlinked_spec.ds
5454

5555
# Android related
56-
**/example/android/**/gradle-wrapper.jar
57-
**/example/android/.gradle
58-
**/example/android/captures/
59-
**/example/android/gradlew
60-
**/example/android/gradlew.bat
61-
**/example/android/local.properties
62-
**/example/android/**/GeneratedPluginRegistrant.java
63-
**/example/android/key.properties
56+
**/android/settings_aar.gradle
57+
**/android/**/gradle-wrapper.jar
58+
**/android/.gradle
59+
**/android/captures/
60+
**/android/gradlew
61+
**/android/gradlew.bat
62+
**/android/local.properties
63+
**/android/**/GeneratedPluginRegistrant.java
64+
**/android/key.properties
6465
*.jks
6566

6667
# iOS/XCode related
67-
**/example/ios/**/*.mode1v3
68-
**/example/ios/**/*.mode2v3
69-
**/example/ios/**/*.moved-aside
70-
**/example/ios/**/*.pbxuser
71-
**/example/ios/**/*.perspectivev3
72-
**/example/ios/**/*sync/
73-
**/example/ios/**/.sconsign.dblite
74-
**/example/ios/**/.tags*
75-
**/example/ios/**/.vagrant/
76-
**/example/ios/**/DerivedData/
77-
**/example/ios/**/Icon?
78-
**/example/ios/**/Pods/
79-
**/example/ios/**/.symlinks/
80-
**/example/ios/**/profile
81-
**/example/ios/**/xcuserdata
82-
**/example/ios/.generated/
83-
**/example/ios/Flutter/App.framework
84-
**/example/ios/Flutter/Flutter.framework
85-
**/example/ios/Flutter/Flutter.podspec
86-
**/example/ios/Flutter/Generated.xcconfig
87-
**/example/ios/Flutter/app.flx
88-
**/example/ios/Flutter/app.zip
89-
**/example/ios/Flutter/flutter_assets/
90-
**/example/ios/Flutter/flutter_export_environment.sh
91-
**/example/ios/ServiceDefinitions.json
92-
**/example/ios/Runner/GeneratedPluginRegistrant.*
68+
**/ios/**/*.mode1v3
69+
**/ios/**/*.mode2v3
70+
**/ios/**/*.moved-aside
71+
**/ios/**/*.pbxuser
72+
**/ios/**/*.perspectivev3
73+
**/ios/**/*sync/
74+
**/ios/**/.sconsign.dblite
75+
**/ios/**/.tags*
76+
**/ios/**/.vagrant/
77+
**/ios/**/DerivedData/
78+
**/ios/**/Icon?
79+
**/ios/**/Pods/
80+
**/ios/**/.symlinks/
81+
**/ios/**/profile
82+
**/ios/**/xcuserdata
83+
**/ios/.generated/
84+
**/ios/Flutter/App.framework
85+
**/ios/Flutter/Flutter.framework
86+
**/ios/Flutter/Flutter.podspec
87+
**/ios/Flutter/Generated.xcconfig
88+
**/ios/Flutter/app.flx
89+
**/ios/Flutter/app.zip
90+
**/ios/Flutter/flutter_assets/
91+
**/ios/Flutter/flutter_export_environment.sh
92+
**/ios/ServiceDefinitions.json
93+
**/ios/Runner/GeneratedPluginRegistrant.*
94+
.last_build_id
95+
96+
# macOS
97+
**/macos/Flutter/GeneratedPluginRegistrant.swift
98+
**/macos/Flutter/ephemeral/
99+
**/macos/Pods/
93100

94101
# Coverage
95102
coverage/

packages/youtube_player_flutter/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 9.1.0
2+
* Updates minimum supported SDK version to Flutter 3.24/Dart 3.5.
3+
* Updates dependencies.
4+
15
## 9.0.4
26
* Fixes related to fullscreen toggle.
37

packages/youtube_player_flutter/example/macos/Runner.xcodeproj/project.pbxproj

Lines changed: 98 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@
2727
33CC10F32044A3C60003C045 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F22044A3C60003C045 /* Assets.xcassets */; };
2828
33CC10F62044A3C60003C045 /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 33CC10F42044A3C60003C045 /* MainMenu.xib */; };
2929
33CC11132044BFA00003C045 /* MainFlutterWindow.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33CC11122044BFA00003C045 /* MainFlutterWindow.swift */; };
30+
37ABEE9FD42419FB14794FF6 /* Pods_RunnerTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = BA52BA1B844599546A309EDF /* Pods_RunnerTests.framework */; };
31+
3A5876EB080A0AD80E69B67F /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 82761A85E1886F4DA2D03070 /* Pods_Runner.framework */; };
3032
/* End PBXBuildFile section */
3133

3234
/* Begin PBXContainerItemProxy section */
@@ -64,7 +66,7 @@
6466
331C80D7294CF71000263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = "<group>"; };
6567
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
6668
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
67-
33CC10ED2044A3C60003C045 /* youtube_player_flutter_example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "youtube_player_flutter_example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
69+
33CC10ED2044A3C60003C045 /* youtube_player_flutter_example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = youtube_player_flutter_example.app; sourceTree = BUILT_PRODUCTS_DIR; };
6870
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
6971
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
7072
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
@@ -76,22 +78,32 @@
7678
33E51913231747F40026EE4D /* DebugProfile.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = DebugProfile.entitlements; sourceTree = "<group>"; };
7779
33E51914231749380026EE4D /* Release.entitlements */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.entitlements; path = Release.entitlements; sourceTree = "<group>"; };
7880
33E5194F232828860026EE4D /* AppInfo.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = AppInfo.xcconfig; sourceTree = "<group>"; };
81+
374F1DED37EA66FEA8240B76 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
82+
43B477AEB081F158D7DB196B /* Pods-RunnerTests.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.profile.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.profile.xcconfig"; sourceTree = "<group>"; };
83+
6DD2B688E51BBC8137887E28 /* Pods-RunnerTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.release.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.release.xcconfig"; sourceTree = "<group>"; };
7984
7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Release.xcconfig; sourceTree = "<group>"; };
85+
82761A85E1886F4DA2D03070 /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; };
86+
89F674B199F6F42CB494D471 /* Pods-RunnerTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RunnerTests.debug.xcconfig"; path = "Target Support Files/Pods-RunnerTests/Pods-RunnerTests.debug.xcconfig"; sourceTree = "<group>"; };
87+
90DC220D02797A03CF9C3245 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = "<group>"; };
8088
9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Debug.xcconfig; sourceTree = "<group>"; };
89+
B4CC67D3CA65FE56483C0407 /* Pods-Runner.profile.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.profile.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.profile.xcconfig"; sourceTree = "<group>"; };
90+
BA52BA1B844599546A309EDF /* Pods_RunnerTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RunnerTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
8191
/* End PBXFileReference section */
8292

8393
/* Begin PBXFrameworksBuildPhase section */
8494
331C80D2294CF70F00263BE5 /* Frameworks */ = {
8595
isa = PBXFrameworksBuildPhase;
8696
buildActionMask = 2147483647;
8797
files = (
98+
37ABEE9FD42419FB14794FF6 /* Pods_RunnerTests.framework in Frameworks */,
8899
);
89100
runOnlyForDeploymentPostprocessing = 0;
90101
};
91102
33CC10EA2044A3C60003C045 /* Frameworks */ = {
92103
isa = PBXFrameworksBuildPhase;
93104
buildActionMask = 2147483647;
94105
files = (
106+
3A5876EB080A0AD80E69B67F /* Pods_Runner.framework in Frameworks */,
95107
);
96108
runOnlyForDeploymentPostprocessing = 0;
97109
};
@@ -125,6 +137,7 @@
125137
331C80D6294CF71000263BE5 /* RunnerTests */,
126138
33CC10EE2044A3C60003C045 /* Products */,
127139
D73912EC22F37F3D000D13A0 /* Frameworks */,
140+
6033B42EE057C7E8D703E68C /* Pods */,
128141
);
129142
sourceTree = "<group>";
130143
};
@@ -172,9 +185,25 @@
172185
path = Runner;
173186
sourceTree = "<group>";
174187
};
188+
6033B42EE057C7E8D703E68C /* Pods */ = {
189+
isa = PBXGroup;
190+
children = (
191+
90DC220D02797A03CF9C3245 /* Pods-Runner.debug.xcconfig */,
192+
374F1DED37EA66FEA8240B76 /* Pods-Runner.release.xcconfig */,
193+
B4CC67D3CA65FE56483C0407 /* Pods-Runner.profile.xcconfig */,
194+
89F674B199F6F42CB494D471 /* Pods-RunnerTests.debug.xcconfig */,
195+
6DD2B688E51BBC8137887E28 /* Pods-RunnerTests.release.xcconfig */,
196+
43B477AEB081F158D7DB196B /* Pods-RunnerTests.profile.xcconfig */,
197+
);
198+
name = Pods;
199+
path = Pods;
200+
sourceTree = "<group>";
201+
};
175202
D73912EC22F37F3D000D13A0 /* Frameworks */ = {
176203
isa = PBXGroup;
177204
children = (
205+
82761A85E1886F4DA2D03070 /* Pods_Runner.framework */,
206+
BA52BA1B844599546A309EDF /* Pods_RunnerTests.framework */,
178207
);
179208
name = Frameworks;
180209
sourceTree = "<group>";
@@ -186,6 +215,7 @@
186215
isa = PBXNativeTarget;
187216
buildConfigurationList = 331C80DE294CF71000263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */;
188217
buildPhases = (
218+
83D45E3D5490F4B2B8ADF517 /* [CP] Check Pods Manifest.lock */,
189219
331C80D1294CF70F00263BE5 /* Sources */,
190220
331C80D2294CF70F00263BE5 /* Frameworks */,
191221
331C80D3294CF70F00263BE5 /* Resources */,
@@ -204,11 +234,13 @@
204234
isa = PBXNativeTarget;
205235
buildConfigurationList = 33CC10FB2044A3C60003C045 /* Build configuration list for PBXNativeTarget "Runner" */;
206236
buildPhases = (
237+
10B31CDC5AB0F560D0563EFE /* [CP] Check Pods Manifest.lock */,
207238
33CC10E92044A3C60003C045 /* Sources */,
208239
33CC10EA2044A3C60003C045 /* Frameworks */,
209240
33CC10EB2044A3C60003C045 /* Resources */,
210241
33CC110E2044A8840003C045 /* Bundle Framework */,
211242
3399D490228B24CF009A79C7 /* ShellScript */,
243+
B8AEB796FBD758E921EB97E5 /* [CP] Embed Pods Frameworks */,
212244
);
213245
buildRules = (
214246
);
@@ -227,7 +259,7 @@
227259
isa = PBXProject;
228260
attributes = {
229261
LastSwiftUpdateCheck = 0920;
230-
LastUpgradeCheck = 1300;
262+
LastUpgradeCheck = 1510;
231263
ORGANIZATIONNAME = "";
232264
TargetAttributes = {
233265
331C80D4294CF70F00263BE5 = {
@@ -290,6 +322,28 @@
290322
/* End PBXResourcesBuildPhase section */
291323

292324
/* Begin PBXShellScriptBuildPhase section */
325+
10B31CDC5AB0F560D0563EFE /* [CP] Check Pods Manifest.lock */ = {
326+
isa = PBXShellScriptBuildPhase;
327+
buildActionMask = 2147483647;
328+
files = (
329+
);
330+
inputFileListPaths = (
331+
);
332+
inputPaths = (
333+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
334+
"${PODS_ROOT}/Manifest.lock",
335+
);
336+
name = "[CP] Check Pods Manifest.lock";
337+
outputFileListPaths = (
338+
);
339+
outputPaths = (
340+
"$(DERIVED_FILE_DIR)/Pods-Runner-checkManifestLockResult.txt",
341+
);
342+
runOnlyForDeploymentPostprocessing = 0;
343+
shellPath = /bin/sh;
344+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
345+
showEnvVarsInLog = 0;
346+
};
293347
3399D490228B24CF009A79C7 /* ShellScript */ = {
294348
isa = PBXShellScriptBuildPhase;
295349
alwaysOutOfDate = 1;
@@ -328,6 +382,45 @@
328382
shellPath = /bin/sh;
329383
shellScript = "\"$FLUTTER_ROOT\"/packages/flutter_tools/bin/macos_assemble.sh && touch Flutter/ephemeral/tripwire";
330384
};
385+
83D45E3D5490F4B2B8ADF517 /* [CP] Check Pods Manifest.lock */ = {
386+
isa = PBXShellScriptBuildPhase;
387+
buildActionMask = 2147483647;
388+
files = (
389+
);
390+
inputFileListPaths = (
391+
);
392+
inputPaths = (
393+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
394+
"${PODS_ROOT}/Manifest.lock",
395+
);
396+
name = "[CP] Check Pods Manifest.lock";
397+
outputFileListPaths = (
398+
);
399+
outputPaths = (
400+
"$(DERIVED_FILE_DIR)/Pods-RunnerTests-checkManifestLockResult.txt",
401+
);
402+
runOnlyForDeploymentPostprocessing = 0;
403+
shellPath = /bin/sh;
404+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
405+
showEnvVarsInLog = 0;
406+
};
407+
B8AEB796FBD758E921EB97E5 /* [CP] Embed Pods Frameworks */ = {
408+
isa = PBXShellScriptBuildPhase;
409+
buildActionMask = 2147483647;
410+
files = (
411+
);
412+
inputFileListPaths = (
413+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-input-files.xcfilelist",
414+
);
415+
name = "[CP] Embed Pods Frameworks";
416+
outputFileListPaths = (
417+
"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks-${CONFIGURATION}-output-files.xcfilelist",
418+
);
419+
runOnlyForDeploymentPostprocessing = 0;
420+
shellPath = /bin/sh;
421+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n";
422+
showEnvVarsInLog = 0;
423+
};
331424
/* End PBXShellScriptBuildPhase section */
332425

333426
/* Begin PBXSourcesBuildPhase section */
@@ -379,6 +472,7 @@
379472
/* Begin XCBuildConfiguration section */
380473
331C80DB294CF71000263BE5 /* Debug */ = {
381474
isa = XCBuildConfiguration;
475+
baseConfigurationReference = 89F674B199F6F42CB494D471 /* Pods-RunnerTests.debug.xcconfig */;
382476
buildSettings = {
383477
BUNDLE_LOADER = "$(TEST_HOST)";
384478
CURRENT_PROJECT_VERSION = 1;
@@ -393,6 +487,7 @@
393487
};
394488
331C80DC294CF71000263BE5 /* Release */ = {
395489
isa = XCBuildConfiguration;
490+
baseConfigurationReference = 6DD2B688E51BBC8137887E28 /* Pods-RunnerTests.release.xcconfig */;
396491
buildSettings = {
397492
BUNDLE_LOADER = "$(TEST_HOST)";
398493
CURRENT_PROJECT_VERSION = 1;
@@ -407,6 +502,7 @@
407502
};
408503
331C80DD294CF71000263BE5 /* Profile */ = {
409504
isa = XCBuildConfiguration;
505+
baseConfigurationReference = 43B477AEB081F158D7DB196B /* Pods-RunnerTests.profile.xcconfig */;
410506
buildSettings = {
411507
BUNDLE_LOADER = "$(TEST_HOST)";
412508
CURRENT_PROJECT_VERSION = 1;

packages/youtube_player_flutter/example/macos/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 = "1300"
3+
LastUpgradeVersion = "1510"
44
version = "1.3">
55
<BuildAction
66
parallelizeBuildables = "YES"

packages/youtube_player_flutter/example/macos/Runner.xcworkspace/contents.xcworkspacedata

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/youtube_player_flutter/example/macos/Runner/AppDelegate.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Cocoa
22
import FlutterMacOS
33

4-
@NSApplicationMain
4+
@main
55
class AppDelegate: FlutterAppDelegate {
66
override func applicationShouldTerminateAfterLastWindowClosed(_ sender: NSApplication) -> Bool {
77
return true

packages/youtube_player_flutter/example/macos/Runner/DebugProfile.entitlements

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@
88
<true/>
99
<key>com.apple.security.network.server</key>
1010
<true/>
11+
<key>com.apple.security.network.client</key>
12+
<true/>
1113
</dict>
1214
</plist>

packages/youtube_player_flutter/example/macos/Runner/Release.entitlements

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
66
<true/>
7+
<key>com.apple.security.network.client</key>
8+
<true/>
79
</dict>
810
</plist>

packages/youtube_player_flutter/example/windows/flutter/generated_plugin_registrant.cc

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

77
#include "generated_plugin_registrant.h"
88

9+
#include <flutter_inappwebview_windows/flutter_inappwebview_windows_plugin_c_api.h>
910

1011
void RegisterPlugins(flutter::PluginRegistry* registry) {
12+
FlutterInappwebviewWindowsPluginCApiRegisterWithRegistrar(
13+
registry->GetRegistrarForPlugin("FlutterInappwebviewWindowsPluginCApi"));
1114
}

packages/youtube_player_flutter/example/windows/flutter/generated_plugins.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
#
44

55
list(APPEND FLUTTER_PLUGIN_LIST
6+
flutter_inappwebview_windows
67
)
78

89
list(APPEND FLUTTER_FFI_PLUGIN_LIST

0 commit comments

Comments
 (0)