Optional allOptional applicationOptional id?: stringOptional name?: stringOptional version?: stringOptional versionOptional Readonly automaticOptional Readonly automaticEnable handling of network availability. When this is true the connection state will automatically change when network availability changes.
Defaults to true.
Optional baseOptional capacityOptional cleanOptional dataOptional debugOptional diagnosticOptional diagnosticOptional disableOptional eventsOptional flushOptional hooksOptional initialSets the mode to use for connections when the SDK is initialized.
Possible values are offline, streaming, or polling. See ConnectionMode for more information.
streaming.
Optional inspectorsOptional loggerOptional maxOptional payloadOptional pluginsA list of plugins to be used with the SDK.
Plugin support is currently experimental and subject to change.
Optional pollOptional privateOptional Readonly runSome platforms (windows, web, mac, linux) can continue executing code in the background.
Defaults to false.
Optional sendOptional Readonly storageCustom storage implementation.
Typical SDK usage will not involve using customized storage.
Storage is used used for caching flag values for context as well as persisting generated identifiers. Storage could be used for additional features in the future.
Defaults to @react-native-async-storage/async-storage see their documentation for more information.
If there is an issue with the storage implementation, then generated keys and context caches may not be persisted. This will cause the SDK to generate new keys and context caches on every startup.
Optional streamOptional streamOptional useOptional withOptional wrapperOptional wrapperGenerated using TypeDoc
Enable handling associated with transitioning between the foreground and background.
Defaults to true.