Changeset View
Changeset View
Standalone View
Standalone View
native/redux/redux-setup.js
Show First 20 Lines • Show All 403 Lines • ▼ Show 20 Lines | try { | ||||
commCoreModule.processDraftStoreOperations(draftStoreOperations), | commCoreModule.processDraftStoreOperations(draftStoreOperations), | ||||
); | ); | ||||
} | } | ||||
await Promise.all(promises); | await Promise.all(promises); | ||||
} catch (e) { | } catch (e) { | ||||
if (isTaskCancelledError(e)) { | if (isTaskCancelledError(e)) { | ||||
return; | return; | ||||
} | } | ||||
// this code will make an entry in SecureStore and cause re-creating | |||||
// database when user will open app again | |||||
commCoreModule.reportDBOperationsFailure(); | |||||
commCoreModule.terminate(); | commCoreModule.terminate(); | ||||
} | } | ||||
})(); | })(); | ||||
return state; | return state; | ||||
} | } | ||||
function sessionInvalidationAlert(payload: SetSessionPayload) { | function sessionInvalidationAlert(payload: SetSessionPayload) { | ||||
▲ Show 20 Lines • Show All 127 Lines • Show Last 20 Lines |