react-native-maps 1.26.12 → 1.26.13
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.
|
@@ -628,7 +628,7 @@ public class MapViewManager extends ViewGroupManager<MapView> implements RNMapsM
|
|
|
628
628
|
|
|
629
629
|
@Override
|
|
630
630
|
public void onDropViewInstance(MapView view) {
|
|
631
|
-
super.onDropViewInstance(view);
|
|
632
631
|
view.doDestroy();
|
|
632
|
+
super.onDropViewInstance(view);
|
|
633
633
|
}
|
|
634
634
|
}
|
|
@@ -346,8 +346,8 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
346
346
|
shouldRestorePadding = true;
|
|
347
347
|
removeView(attacherGroup);
|
|
348
348
|
attacherGroup = null;
|
|
349
|
-
detachLifecycleObserver();
|
|
350
349
|
super.onDetachedFromWindow();
|
|
350
|
+
detachLifecycleObserver();
|
|
351
351
|
}
|
|
352
352
|
|
|
353
353
|
// Method to attach lifecycle observer
|
|
@@ -747,9 +747,6 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
747
747
|
return;
|
|
748
748
|
}
|
|
749
749
|
destroyed = true;
|
|
750
|
-
|
|
751
|
-
// Detach lifecycle observer before destroying
|
|
752
|
-
detachLifecycleObserver();
|
|
753
750
|
savedMapState = null;
|
|
754
751
|
savedFeatures = null;
|
|
755
752
|
|
|
@@ -758,6 +755,7 @@ public class MapView extends com.google.android.gms.maps.MapView implements Goog
|
|
|
758
755
|
paused = true;
|
|
759
756
|
}
|
|
760
757
|
onDestroy();
|
|
758
|
+
detachLifecycleObserver();
|
|
761
759
|
}
|
|
762
760
|
|
|
763
761
|
public void setInitialCameraSet(boolean initialCameraSet) {
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"types": "dist/src/index.d.ts",
|
|
8
8
|
"author": "Leland Richardson <leland.m.richardson@gmail.com>",
|
|
9
9
|
"homepage": "https://github.com/react-native-maps/react-native-maps#readme",
|
|
10
|
-
"version": "1.26.
|
|
10
|
+
"version": "1.26.13",
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"scripts": {
|
|
13
13
|
"lint": "eslint . --max-warnings 0",
|