Skip to content

Colota - Android GPS Location tracker

fix(android): use TextureView for map to avoid ANR on dispose

Max Dietrichf66eb03f22cc
diff --git a/apps/mobile/src/components/features/map/ColotaMapView.tsx b/apps/mobile/src/components/features/map/ColotaMapView.tsx
index 657f74b7..f5399503 100644
--- a/apps/mobile/src/components/features/map/ColotaMapView.tsx
+++ b/apps/mobile/src/components/features/map/ColotaMapView.tsx
@@ -172,6 +172,7 @@ export const ColotaMapView = forwardRef<ColotaMapRef, Props>(function ColotaMapV
ref={mapViewRef}
style={styles.map}
mapStyle={mapStyle}
+ androidView="texture"
attribution={false}
logo={false}
compass={false}