this is my react native code : import React, {useContext, useState} from "react";
import {Platform, ScrollView} from "react-native";

import {StackScreenProps} from "@react-navigation/stack";

import Alert from "@components/alert";
import Background from "@components/background";
import Label from "@components/label";
import Button from "@components/primaryButton";

import {DEFAULT_INITIAL_ALERT_STATUS} from "@config/constants/AppConstants";
import {IOS_LOCAL_NETWORK_CHECK_ASYNC_STORAGE_KEY} from "@config/constants/DaikinLiteConstants";
import {DeviceType} from "@config/constants/DeviceTypeConstants";
import {HomeNavigatorParamList} from "@config/constants/NavConstants";
import {PermissionStatus} from "@config/constants/PermissionConstants";
import {ALTHERMA_SSID} from "@config/constants/ThermostatConstants";
import {IOS_LOCAL_NETWORK_TIMEOUT} from "@config/constants/TimeoutConstants";
import {translationKeys} from "@config/constants/TranslationConstants";
import {getLocalizationContext} from "@config/Translations";
import {iAlertState} from "@config/types/CommonTypes";

import localStorage from "@services/asyncStorage";
import {useAppDispatch} from "@store/Hooks";
import {
	hideLoader as hideFanLoader,
	showLoader as showFanLoader,
} from "@store/loader/LoaderSlice";
// import * as miniThermostatThunkActions from "@store/miniThermostat/ThunkActions";
import {disableAppStateListener} from "@store/settings/SettingsSlice";

import Page from "@styles/Page";
import {useThemeAwareObject} from "@styles/theming/ThemingHelper";
import {
	checkForLocationPermission,
	triggerAndroidLocationPermissionPopUp,
} from "@utils/LocationPermissionUtil";
import {checkAndConnectToWifiSSID} from "@utils/WifiManagerUtils";

import Styles from "./Styles";

type Props = StackScreenProps<
	HomeNavigatorParamList,
	"AlthermaInitialStepScreen"
>;

const AlthermaInitialStepScreen = ({navigation}: Props) => {
	const {translate} = useContext(getLocalizationContext());

	const styles = useThemeAwareObject(Styles.createStyles);

	const dispatch = useAppDispatch();

	const [alertStatus, setAlertStatus] = useState<iAlertState>(
		DEFAULT_INITIAL_ALERT_STATUS,
	);

	const showLoader = (loading: boolean) => {
		if (loading) {
			dispatch(showFanLoader());
		} else {
			dispatch(hideFanLoader({className: "AlthermaInitialStepScreen"}));
		}
	};

	const onDismissAlert = () => {
		setAlertStatus({
			isVisible: false,
			title: alertStatus.title,
			message: alertStatus.message,
			positiveBtnLabel: alertStatus.positiveBtnLabel,
			negativeBtnLabel: alertStatus.negativeBtnLabel,
			onPress: null,
			onCancel: null,
		});
	};

	const onNavigate = () => {
		showLoader(false);
		navigation.navigate("AlthermaAPIsTestScreen");
	};

	const onNavigateBack = () => {
		onDismissAlert();
	};

	const onNavigateToConfigureThermostatScreen = () => {
		onDismissAlert();
		navigation.navigate("ConfigureThermostatScreen", {
			deviceType: DeviceType.altherma,
			ssidPrefix: ALTHERMA_SSID,
			password: "T3GQ0K4Q" as string,
		});
	};

	const showAndroidLocationPermissionPopUp = async () => {
		const {status} = await triggerAndroidLocationPermissionPopUp(
			setAlertStatus,
			onDismissAlert,
		);
		if (status === PermissionStatus.granted) {
			getWifiSSID();
		}
	};

	const onNavigateBasedOnPlatform = async () => {
		const localNetworkPermissionChecked = await localStorage.getItem(
			IOS_LOCAL_NETWORK_CHECK_ASYNC_STORAGE_KEY,
		);
		if (
			Platform.OS === "ios" &&
			(localNetworkPermissionChecked === null ||
				JSON.parse(localNetworkPermissionChecked) === false)
		) {
			setTimeout(() => {
				onNavigate();
			}, IOS_LOCAL_NETWORK_TIMEOUT);
		} else {
			onNavigate();
		}
	};

	const getWifiSSID = async () => {
		const isConnected = await checkAndConnectToWifiSSID(
			ALTHERMA_SSID,
			"T3GQ0K4Q" as string,
			setAlertStatus,
			onDismissAlert,
			showLoader,
			true,
			onNavigate,
			onNavigateBack,
			onNavigateToConfigureThermostatScreen,
		);
		if (isConnected) {
			await onNavigateBasedOnPlatform();
		}
	};

	const connectToHotspot = async () => {
		dispatch(disableAppStateListener());
		const {status} = await checkForLocationPermission(
			setAlertStatus,
			onDismissAlert,
		);
		if (Platform.OS === "android") {
			if (status === PermissionStatus.granted) {
				showAndroidLocationPermissionPopUp();
			}
		} else if (Platform.OS === "ios") {
			if (status === PermissionStatus.granted) {
				getWifiSSID();
			}
		}
	};

	return (
		<Background>
			<Alert
				visible={alertStatus.isVisible}
				title={alertStatus.title}
				description={alertStatus.message}
				positiveButtonTitle={
					alertStatus.positiveBtnLabel ||
					translate(translationKeys.alert.okayButtonLabel)
				}
				negativeButtonTitle={alertStatus.negativeBtnLabel}
				onPress={alertStatus.onPress || onDismissAlert}
				onCancel={alertStatus.onCancel || onDismissAlert}
				isWifiEnableAlert={alertStatus.isWifiEnableAlert}
			/>
			<ScrollView style={Page.container}>
				<Label
					text="Once your Thermostat is in AP Mode click the Continue button and provide all
                    the required permissions in order to navigate to the next screen. "
					style={styles.description}
				/>
				<Button
					title={translate(translationKeys.buttonTitle.continue)}
					style={[styles.nextButton]}
					onPress={connectToHotspot}
				/>
			</ScrollView>
		</Background>
	);
};

export default AlthermaInitialStepScreen;
 to connect to the hotspot it works perfectly i android and in ios also it connects to wifi but throws this error after that nw_connection_add_timestamp_locked_on_nw_queue [C19] Hit maximum timestamp count, will start dropping events 
nw_endpoint_flow_failed_with_error [C30.1.1 dry-run 142.250.193.110:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C8.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C28 dry-run 142.250.193.138:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_endpoint_flow_failed_with_error [C29.1.1 dry-run 142.250.193.138:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_endpoint_flow_failed_with_error [C31.1.1 dry-run 142.250.182.10:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C11.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C32.1.1 dry-run 52.35.160.153:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C19.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C25.1.1 dry-run 142.250.193.138:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C10.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C27.1.1 dry-run 18.161.216.15:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_connection_add_timestamp_locked_on_nw_queue [C7] Hit maximum timestamp count, will start dropping events
nw_proto_tcp_route_init [C7.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C26.1.1 dry-run 142.250.196.10:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C4.1.1.1:3] no mtu received
nw_endpoint_flow_failed_with_error [C24.1.1 dry-run 142.250.196.10:443 ready socket-flow (unsatisfied (No network route))] already failing, returning
nw_proto_tcp_route_init [C12.1.1.1:3] no mtu received
nw_connection_add_timestamp_locked_on_nw_queue [C15] Hit maximum timestamp count, will start dropping events
nw_read_request_report [C15] Receive failed with error "Socket is not connected"
nw_read_request_report [C15] Receive failed with error "Socket is not connected"
Connection 8: encountered error(1:53)
Connection 11: encountered error(1:53)
Connection 19: encountered error(1:53)
Connection 10: encountered error(1:53)
Connection 7: encountered error(1:53)
Connection 4: encountered error(1:53)
Connection 12: encountered error(1:53) how to fix this also this is my info.plist file : <?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>CFBundleDevelopmentRegion</key>
	<string>en</string>
	<key>CFBundleDisplayName</key>
	<string>Daikin One Home</string>
	<key>CFBundleExecutable</key>
	<string>$(EXECUTABLE_NAME)</string>
	<key>CFBundleIdentifier</key>
	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
	<key>CFBundleInfoDictionaryVersion</key>
	<string>6.0</string>
	<key>CFBundleName</key>
	<string>$(PRODUCT_NAME)</string>
	<key>CFBundlePackageType</key>
	<string>APPL</string>
	<key>CFBundleShortVersionString</key>
	<string>$(MARKETING_VERSION)</string>
	<key>CFBundleSignature</key>
	<string>????</string>
	<key>CFBundleVersion</key>
	<string>$(CURRENT_PROJECT_VERSION)</string>
	<key>LSApplicationQueriesSchemes</key>
	<array>
		<string>mailto</string>
		<string>itms-apps</string>
	</array>
	<key>LSRequiresIPhoneOS</key>
	<true/>
	<key>NSAppTransportSecurity</key>
	<dict>
		<key>NSAllowsArbitraryLoads</key>
		<true/>
	</dict>
	<key>NSFaceIDUsageDescription</key>
	<string>Allow $(PRODUCT_NAME) to use FaceID</string>
	<key>NSLocationAlwaysAndWhenInUseUsageDescription</key>
	<string>Location services are needed to connect to local networks and for geofencing.</string>
	<key>NSLocationAlwaysUsageDescription</key>
	<string>Location services are needed to connect to local networks and for geofencing.</string>
	<key>NSLocationWhenInUseUsageDescription</key>
	<string>Location services are needed to connect to local networks and for geofencing.</string>
	<key>UIAppFonts</key>
	<array>
		<string>HaasGrotDispApp-25XThin.ttf</string>
		<string>HaasGrotDispApp-45Light.ttf</string>
		<string>HaasGrotDispApp-46LightItalic.ttf</string>
		<string>HaasGrotDispApp-55Roman.ttf</string>
		<string>HaasGrotDispApp-65Medium.ttf</string>
		<string>HaasGrotDispApp-75Bold.ttf</string>
	</array>
	<key>UIBackgroundModes</key>
	<array>
		<string>fetch</string>
		<string>location</string>
		<string>remote-notification</string>
	</array>
	<key>UILaunchStoryboardName</key>
	<string>LaunchScreen</string>
	<key>UIRequiredDeviceCapabilities</key>
	<array>
		<string>armv7</string>
	</array>
	<key>UIRequiresFullScreen</key>
	<false/>
	<key>UISupportedInterfaceOrientations</key>
	<array>
		<string>UIInterfaceOrientationPortrait</string>
	</array>
	<key>UISupportedInterfaceOrientations~ipad</key>
	<array>
		<string>UIInterfaceOrientationLandscapeLeft</string>
		<string>UIInterfaceOrientationLandscapeRight</string>
		<string>UIInterfaceOrientationPortrait</string>
		<string>UIInterfaceOrientationPortraitUpsideDown</string>
	</array>
	<key>UIViewControllerBasedStatusBarAppearance</key>
	<false/>
	<key>LSApplicationCategoryType</key>
	<array>
		<string></string>
	</array>
	<key>ITSAppUsesNonExemptEncryption</key>
	<false/>
	<key>LSMinimumSystemVersion</key>
	<string>12.0</string>
	<key>NSLocalNetworkUsageDescription</key>
	<string>DOH requires access to local network to communicate with devices on the network.</string>
</dict>
</plist> and when try to hit end point the error is : Connection 34: received failure notification
Connection 34: failed to connect 1:50, reason -1
Connection 34: encountered error(1:50)
Task <51B96B85-8182-46DA-8C67-3D35D1382814>.<20> HTTP load failed, 0/0 bytes (error code: -1009 [1:50])
Task <51B96B85-8182-46DA-8C67-3D35D1382814>.<20> finished with error [-1009] Error Domain=NSURLErrorDomain Code=-1009 "The Internet connection appears to be offline." UserInfo={_kCFStreamErrorCodeKey=50, NSUnderlyingError=0x301d34c00 {Error Domain=kCFErrorDomainCFNetwork Code=-1009 "(null)" UserInfo={_NSURLErrorNWPathKey=unsatisfied (Local network prohibited), interface: en0[802.11], ipv4, uses wifi, _kCFStreamErrorCodeKey=50, _kCFStreamErrorDomainKey=1}}, _NSURLErrorFailingURLSessionTaskErrorKey=LocalDataTask <51B96B85-8182-46DA-8C67-3D35D1382814>.<20>, _NSURLErrorRelatedURLSessionTaskErrorKey=(
    "LocalDataTask <51B96B85-8182-46DA-8C67-3D35D1382814>.<20>"
), NSLocalizedDescription=The Internet connection appears to be offline., NSErrorFailingURLStringKey=http://192.168.10.1/config/wlan/scan, NSErrorFailingURLKey=http://192.168.10.1/config/wlan/scan, _kCFStreamErrorDomainKey=1}