react-native-maps 1.8.3 → 1.8.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -815,7 +815,7 @@ id regionAsJSON(MKCoordinateRegion region) {
815
815
  @"latitude": @(location.coordinate.latitude),
816
816
  @"longitude": @(location.coordinate.longitude),
817
817
  @"altitude": @(location.altitude),
818
- @"timestamp": @(location.timestamp.timeIntervalSinceReferenceDate * 1000),
818
+ @"timestamp": @(location.timestamp.timeIntervalSince1970 * 1000),
819
819
  @"accuracy": @(location.horizontalAccuracy),
820
820
  @"altitudeAccuracy": @(location.verticalAccuracy),
821
821
  @"speed": @(location.speed),
@@ -915,7 +915,7 @@ static int kDragCenterContext;
915
915
  @"latitude": @(location.coordinate.latitude),
916
916
  @"longitude": @(location.coordinate.longitude),
917
917
  @"altitude": @(location.location.altitude),
918
- @"timestamp": @(location.location.timestamp.timeIntervalSinceReferenceDate * 1000),
918
+ @"timestamp": @(location.location.timestamp.timeIntervalSince1970 * 1000),
919
919
  @"accuracy": @(location.location.horizontalAccuracy),
920
920
  @"altitudeAccuracy": @(location.location.verticalAccuracy),
921
921
  @"speed": @(location.location.speed),
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "main": "lib/index.js",
6
6
  "author": "Leland Richardson <leland.m.richardson@gmail.com>",
7
7
  "homepage": "https://github.com/react-native-maps/react-native-maps#readme",
8
- "version": "1.8.3",
8
+ "version": "1.8.4",
9
9
  "license": "MIT",
10
10
  "scripts": {
11
11
  "lint": "eslint . --max-warnings 0",