@@ -602,6 +602,12 @@ const MapScreen: any = ({ navigation, route }: { navigation: any; route: any })
}
}, [netInfo]);
+ useEffect(() => {
+ if (Platform.OS === 'android') {
+ MapLibreRN.setConnected(isConnected);
+ }
+ }, [isConnected])
+
useEffect(() => {
if (showNomads) {
refetchUsersLocation();