maps
maps copied to clipboard
UserLocation. onUpdate returns different timestamp units on iOS and Android
Describe the bug onUpdate method of MapboxGL.UserLocation has different behavior depending on the platform.
- iOS. onUpdate returns timestamp in seconds.
- Android. It returns timestamp in miliseconds.
To Reproduce Nothing special to do. Just log it.
Expected behavior It must be equal on both platforms.
Screenshots
Versions (please complete the following information):
- Platfrom: Android, iOS
- Device: Xiaomi 6A, iPhone X Simulator
- OS: Android 8.0, iOS 12
- SDK Version 28
- React Native Version 59
Additional context
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I also experience this issue, and think that both devices should return the same units.