get location from starting app

This commit is contained in:
2024-11-06 13:27:31 +01:00
parent 3a0f24cc4c
commit 5c0f4d345d
9 changed files with 278 additions and 71 deletions

View File

@@ -6,11 +6,13 @@ import FlutterMacOS
import Foundation
import file_selector_macos
import geolocator_apple
import path_provider_foundation
import shared_preferences_foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
FileSelectorPlugin.register(with: registry.registrar(forPlugin: "FileSelectorPlugin"))
GeolocatorPlugin.register(with: registry.registrar(forPlugin: "GeolocatorPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
}