Appearance
@swapped/connect-sdk / react-native / createReactNativePlatform
Function: createReactNativePlatform()
createReactNativePlatform(
options?):SwappedPlatform
Defined in: src/react-native/index.ts:19
Platform adapter for React Native (Hermes). Pass to createSwappedConnectClient as platform.
Also registers the platform globally, so locale helpers such as detectBrowserLocale use the device locale even before a client exists.
Parameters
options?
CreateReactNativePlatformOptions = {}