Storage configuration parameters with platform-specific options
Optionaloptions: StorageLoggerOptionsA branded SessionStorage handle with native storage id metadata
const sessionStorage = configureSessionStorage({
android: {
keyAlias: 'session_key',
fileName: 'session_data',
strongBoxPreferred: true
}
});
// Pass to Journey SDK
// initJourney({ sessionStorage, ... });
TODO: Analyze implications of turning storage operations async to better handle errors from native bridge calls.
Registers and resolves a session storage handle.
This function handles registration internally and returns a normalized storage configuration that can be passed to other modules or SDKs.