From 9364d0e5d390ba64de9caef151baf72bbab9522b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20V=C3=A4limaa?= Date: Fri, 27 Sep 2024 17:33:18 +0800 Subject: [PATCH] fix: enable remaining time distance listener on ios (#276) --- ios/react-native-navigation-sdk/NavModule.m | 2 -- 1 file changed, 2 deletions(-) diff --git a/ios/react-native-navigation-sdk/NavModule.m b/ios/react-native-navigation-sdk/NavModule.m index 96ddd53..290afe4 100644 --- a/ios/react-native-navigation-sdk/NavModule.m +++ b/ios/react-native-navigation-sdk/NavModule.m @@ -99,8 +99,6 @@ - (void)initializeSession { if (self->_session.navigator) { [self->_session.navigator addListener:self]; self->_session.navigator.stopGuidanceAtArrival = NO; - self->_session.navigator.timeUpdateThreshold = DBL_MAX; - self->_session.navigator.distanceUpdateThreshold = CLLocationDistanceMax; } [self->_session.roadSnappedLocationProvider addListener:self];