maximumAge is in seconds, not milliseconds
See original GitHub issueReact Native: 0.64.0
Library version: 5.3.0-beta.1
, 5.2.0
Device: Samsung Galaxy A71
The maximumAge
option seems to be in seconds, not in milliseconds like described in the documentation. App is using the fused location provider.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (3 by maintainers)
Top Results From Across the Web
react native navigator.geolocation.getCurrentPosition not ...
The PositionOptions.maximumAge property is a positive long value indicating the maximum age in milliseconds of a possible cached position that ...
Read more >AWS::Lambda::EventSourceMapping - AWS CloudFormation
The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. Default (Kinesis, DynamoDB, Amazon SQS event sources) ......
Read more >Timeout properties - IBM
Timeout properties ; si.GPS.maximumAge, Amount of time in milliseconds that the mobile device caches the latest acquired GPS co-ordinates. 60000 ms ; si.GPS....
Read more >PositionOptions · WebPlatform Docs
maximumAge : Indicates that the application is willing to accept a cached position whose age is no greater than the specified time (in...
Read more >Geolocation API - W3C
Since publication of the Second Edition in 2016, ... a cached position whose age is no greater than the specified time in milliseconds....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I am using
Geolocation.watchPosition
, and I feel likeinterval
is not inms
but incentisecond
. I set it to1000
, and the location updates about every 10 seconds. When I set it to100
, it updates every second.Closing due to inactivity, also I’m confident that this is working as expected. Feel free to open a new issue if that’s not the case.