Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ListenerSettings on iSO PositionChanged event not activating #345

Open
dolfvdberg opened this issue May 17, 2021 · 0 comments
Open

ListenerSettings on iSO PositionChanged event not activating #345

dolfvdberg opened this issue May 17, 2021 · 0 comments

Comments

@dolfvdberg
Copy link

dolfvdberg commented May 17, 2021

Version Number of Plugin: 4.6.2-beta
Device Tested On: none
Simulator Tested On: iPhone 12
Version of VS: 16.95
Version of Xamarin: 5

When adding ListenerSettings on iSO PositionChanged event not activating. When removing ListenerSettings it works fine.

			await CrossGeolocator.Current.StartListeningAsync(TimeSpan.FromSeconds(5), 10, true
				//, new Plugin.Geolocator.Abstractions.ListenerSettings
				//{
				//	ActivityType = Plugin.Geolocator.Abstractions.ActivityType.AutomotiveNavigation,
				//	AllowBackgroundUpdates = true,
				//	DeferLocationUpdates = true,
				//	DeferralDistanceMeters = 1,
				//	DeferralTime = TimeSpan.FromSeconds(1),
				//	ListenForSignificantChanges = true,
				//	PauseLocationUpdatesAutomatically = false
				//}
				);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant