Add location permissions and implement real-time location updates on the map

This commit is contained in:
Van Leemput Dayron
2025-10-05 23:35:56 +02:00
parent da39e0e164
commit 4a38ec720f
7 changed files with 156 additions and 13 deletions

View File

@@ -5,10 +5,12 @@
import FlutterMacOS
import Foundation
import location
import path_provider_foundation
import shared_preferences_foundation
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
LocationPlugin.register(with: registry.registrar(forPlugin: "LocationPlugin"))
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
}