Skip to content

Commit 34ac8ae

Browse files
committed
Register path_provider_foundation plugin for macOS
Added import and registration for the path_provider_foundation plugin in GeneratedPluginRegistrant.swift to enable path provider functionality on macOS. Also updated related dependencies in pubspec.lock.
1 parent 6bb0e6f commit 34ac8ae

File tree

2 files changed

+6
-20
lines changed

2 files changed

+6
-20
lines changed

client/macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import geolocator_apple
1212
import media_kit_libs_macos_video
1313
import media_kit_video
1414
import package_info_plus
15+
import path_provider_foundation
1516
import record_macos
1617
import rive_common
1718
import screen_retriever_macos
@@ -31,6 +32,7 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
3132
MediaKitLibsMacosVideoPlugin.register(with: registry.registrar(forPlugin: "MediaKitLibsMacosVideoPlugin"))
3233
MediaKitVideoPlugin.register(with: registry.registrar(forPlugin: "MediaKitVideoPlugin"))
3334
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
35+
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
3436
RecordMacOsPlugin.register(with: registry.registrar(forPlugin: "RecordMacOsPlugin"))
3537
RivePlugin.register(with: registry.registrar(forPlugin: "RivePlugin"))
3638
ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin"))

client/pubspec.lock

Lines changed: 4 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -189,10 +189,10 @@ packages:
189189
dependency: transitive
190190
description:
191191
name: device_info_plus
192-
sha256: dd0e8e02186b2196c7848c9d394a5fd6e5b57a43a546082c5820b1ec72317e33
192+
sha256: "4df8babf73058181227e18b08e6ea3520cf5fc5d796888d33b7cb0f33f984b7c"
193193
url: "https://pub.dev"
194194
source: hosted
195-
version: "12.2.0"
195+
version: "12.3.0"
196196
device_info_plus_platform_interface:
197197
dependency: transitive
198198
description:
@@ -782,14 +782,6 @@ packages:
782782
url: "https://pub.dev"
783783
source: hosted
784784
version: "1.0.0"
785-
objective_c:
786-
dependency: transitive
787-
description:
788-
name: objective_c
789-
sha256: "1f81ed9e41909d44162d7ec8663b2c647c202317cc0b56d3d56f6a13146a0b64"
790-
url: "https://pub.dev"
791-
source: hosted
792-
version: "9.1.0"
793785
package_info_plus:
794786
dependency: transitive
795787
description:
@@ -842,10 +834,10 @@ packages:
842834
dependency: transitive
843835
description:
844836
name: path_provider_foundation
845-
sha256: "6192e477f34018ef1ea790c56fffc7302e3bc3efede9e798b934c252c8c105ba"
837+
sha256: "6d13aece7b3f5c5a9731eaf553ff9dcbc2eff41087fd2df587fd0fed9a3eb0c4"
846838
url: "https://pub.dev"
847839
source: hosted
848-
version: "2.5.0"
840+
version: "2.5.1"
849841
path_provider_linux:
850842
dependency: transitive
851843
description:
@@ -974,14 +966,6 @@ packages:
974966
url: "https://pub.dev"
975967
source: hosted
976968
version: "6.1.5+1"
977-
pub_semver:
978-
dependency: transitive
979-
description:
980-
name: pub_semver
981-
sha256: "5bfcf68ca79ef689f8990d1160781b4bad40a3bd5e5218ad4076ddb7f4081585"
982-
url: "https://pub.dev"
983-
source: hosted
984-
version: "2.2.0"
985969
record:
986970
dependency: transitive
987971
description:

0 commit comments

Comments
 (0)