IGPAPI
    Preparing search index...

    Variable ExportSnapshotConst

    ExportSnapshot: Effect<
        MobileSnapshot,
        never,
        MobileSession
        | MobileDevice
        | MobileApplication
        | MobileCookies,
    > = ...

    The session snapshot of the running app: the device, the session, the app profile and the cookies, as they stand now. Pass it back as snapshot to the platform's app layer (AndroidApp, IosApp) to restore the session in a new process.

    The value is a detached copy: the running process keeps changing its own state, the exported snapshot does not change with it. Process facts (navigation, the screen stack, undelivered telemetry, the transport's protocol state) are not part of it.

    const snapshot = await Effect.runPromise(Effect.provide(ExportSnapshot, AndroidApp({ snapshot: saved })));