michalchudziak/react-native-geolocation

Issue setting `expirationDuration` with `maximumAge`

jkaufman opened this issue · 0 comments

checkLocationSettings in PlayServicesLocationManager sets requestExpirationDuration when evaluating the availability of location data. I'm concerned that a maximumAge setting of 0, and thus an expirationDuration of 0, could result in erroneous failures.