Expo Fp Global Location Provider
Singleton wrapper around a location provider.
Example:
val provider: IExpoFpLocationProvider = YourLocationProvider()
ExpoFpGlobalLocationProvider.sharedProvider = provider
// Optionally start it
// ExpoFpGlobalLocationProvider.startUpdatingLocation()
val presenter = ExpoFpPlan.createPlanPresenter(
planLink = ExpoFpLinkType.ExpoKey("YourExpoKey"),
locationProvider = ExpoFpGlobalLocationProvider
)
Content copied to clipboard
The plan may call startUpdatingLocation()
when it appears. Important: It will not call stopUpdatingLocation()
when it disappears. Stop it yourself when needed.
Properties
Link copied to clipboard
Proxy to the delegate of sharedProvider.
Link copied to clipboard
Shared location provider. Set to null
to remove.