File tree Expand file tree Collapse file tree 5 files changed +13
-0
lines changed
Expand file tree Collapse file tree 5 files changed +13
-0
lines changed Original file line number Diff line number Diff line change 77#include " generated_plugin_registrant.h"
88
99#include < flutter_secure_storage_linux/flutter_secure_storage_linux_plugin.h>
10+ #include < url_launcher_linux/url_launcher_plugin.h>
1011
1112void fl_register_plugins (FlPluginRegistry* registry) {
1213 g_autoptr (FlPluginRegistrar) flutter_secure_storage_linux_registrar =
1314 fl_plugin_registry_get_registrar_for_plugin (registry, " FlutterSecureStorageLinuxPlugin" );
1415 flutter_secure_storage_linux_plugin_register_with_registrar (flutter_secure_storage_linux_registrar);
16+ g_autoptr (FlPluginRegistrar) url_launcher_linux_registrar =
17+ fl_plugin_registry_get_registrar_for_plugin (registry, " UrlLauncherPlugin" );
18+ url_launcher_plugin_register_with_registrar (url_launcher_linux_registrar);
1519}
Original file line number Diff line number Diff line change 44
55list (APPEND FLUTTER_PLUGIN_LIST
66 flutter_secure_storage_linux
7+ url_launcher_linux
78)
89
910list (APPEND FLUTTER_FFI_PLUGIN_LIST
Original file line number Diff line number Diff line change @@ -7,12 +7,16 @@ import Foundation
77
88import flutter_secure_storage_macos
99import local_auth_darwin
10+ import package_info_plus
1011import path_provider_foundation
1112import shared_preferences_foundation
13+ import url_launcher_macos
1214
1315func RegisterGeneratedPlugins( registry: FlutterPluginRegistry ) {
1416 FlutterSecureStoragePlugin . register ( with: registry. registrar ( forPlugin: " FlutterSecureStoragePlugin " ) )
1517 FLALocalAuthPlugin . register ( with: registry. registrar ( forPlugin: " FLALocalAuthPlugin " ) )
18+ FPPPackageInfoPlusPlugin . register ( with: registry. registrar ( forPlugin: " FPPPackageInfoPlusPlugin " ) )
1619 PathProviderPlugin . register ( with: registry. registrar ( forPlugin: " PathProviderPlugin " ) )
1720 SharedPreferencesPlugin . register ( with: registry. registrar ( forPlugin: " SharedPreferencesPlugin " ) )
21+ UrlLauncherPlugin . register ( with: registry. registrar ( forPlugin: " UrlLauncherPlugin " ) )
1822}
Original file line number Diff line number Diff line change 99#include < flutter_secure_storage_windows/flutter_secure_storage_windows_plugin.h>
1010#include < local_auth_windows/local_auth_plugin.h>
1111#include < permission_handler_windows/permission_handler_windows_plugin.h>
12+ #include < url_launcher_windows/url_launcher_windows.h>
1213
1314void RegisterPlugins (flutter::PluginRegistry* registry) {
1415 FlutterSecureStorageWindowsPluginRegisterWithRegistrar (
@@ -17,4 +18,6 @@ void RegisterPlugins(flutter::PluginRegistry* registry) {
1718 registry->GetRegistrarForPlugin (" LocalAuthPlugin" ));
1819 PermissionHandlerWindowsPluginRegisterWithRegistrar (
1920 registry->GetRegistrarForPlugin (" PermissionHandlerWindowsPlugin" ));
21+ UrlLauncherWindowsRegisterWithRegistrar (
22+ registry->GetRegistrarForPlugin (" UrlLauncherWindows" ));
2023}
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ list(APPEND FLUTTER_PLUGIN_LIST
66 flutter_secure_storage_windows
77 local_auth_windows
88 permission_handler_windows
9+ url_launcher_windows
910)
1011
1112list (APPEND FLUTTER_FFI_PLUGIN_LIST
You can’t perform that action at this time.
0 commit comments