Skip to main content

react-native-tracker.platformcontextretriever.getnetworktype

Home > @snowplow/react-native-tracker > PlatformContextRetriever > getNetworkType

PlatformContextRetriever.getNetworkType property

Type of network the device is connected to

Signature:
getNetworkType?: () => Promise<'mobile' | 'wifi' | 'offline' | undefined>;