Skip to content

@swapped/connect-sdk / react-native / CreateReactNativePlatformOptions

Type Alias: CreateReactNativePlatformOptions ​

CreateReactNativePlatformOptions = object

Defined in: src/react-native/react-native-platform.ts:13

Properties ​

authRedirectUrl? ​

optional authRedirectUrl?: string

Defined in: src/react-native/react-native-platform.ts:19

Deep link the system auth session closes on (e.g. from Linking.createURL).


getLocales? ​

optional getLocales?: () => readonly string[]

Defined in: src/react-native/react-native-platform.ts:17

BCP-47 locale tags in preference order (e.g. from expo-localization).

Returns ​

readonly string[]


openAuthSession? ​

optional openAuthSession?: PlatformAdapter["openAuthSession"]

Defined in: src/react-native/react-native-platform.ts:21

Typically WebBrowser.openAuthSessionAsync, mapped to AuthSessionResult.


sessionStorage? ​

optional sessionStorage?: SwappedKeyValueStorage

Defined in: src/react-native/react-native-platform.ts:15


storage? ​

optional storage?: SwappedKeyValueStorage

Defined in: src/react-native/react-native-platform.ts:14