SAF初步修改,等待验证

This commit is contained in:
2026-07-04 20:57:29 +08:00
parent bdf24f6790
commit c5a85e05a3
8 changed files with 432 additions and 53 deletions
@@ -7,10 +7,12 @@ import Foundation
import device_info_plus
import path_provider_foundation
import shared_preferences_foundation
import sqflite_darwin
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
SqflitePlugin.register(with: registry.registrar(forPlugin: "SqflitePlugin"))
}