Fixed CORS

This commit is contained in:
2023-09-22 14:33:33 +05:30
parent dca7cf76e6
commit 9daa3db037
4 changed files with 86 additions and 83 deletions

View File

@@ -6,7 +6,9 @@ import FlutterMacOS
import Foundation
import path_provider_foundation
import shared_preferences_foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
}