Plugin for tracking location in background.
Please see example for more details.
- Add below code in AppDelegate.swift
func registerPlugins(registry: FlutterPluginRegistry) {
GeneratedPluginRegistrant.register(with: registry)
}
UCLocationPlugin.setPluginRegistrantCallback(registerPlugins)
- Add below changes in Capabilities