IGPAPI
    Preparing search index...

    Function androidAppLaunchSimulationOver

    • Internal

      AndroidAppLaunchSimulation over a transport of the caller's choice: the same process, launch and scope, but the requests go to transportOf instead of the native client. Tests drive the whole simulation through it.

      Parameters

      • input: AndroidAppLaunchSimulationInput
      • transportOf: (
            internals: {
                application: MobileApplicationState;
                client: Client;
                cookieJar: CookieJarLike;
                device: MobileDeviceState;
                protocolDiagnostics: () => readonly Readonly<ProtocolDiagnostic>[];
                requestTimeoutMs: number;
                session: {
                    appStartPhase?: "cold";
                    appStartTimeMs?: number;
                    authorization?: string;
                    bandwidth?: { bytes: number; carried?: true; ms: number };
                    challenge?: { readonly [key: string]: unknown };
                    checkpoint?: { readonly [key: string]: unknown };
                    clientSessionIdLifetime: number;
                    dsUserId?: string;
                    familyDeviceIdBound?: boolean;
                    igWWWClaim?: string;
                    msgrRegion?: string;
                    passwordEncryptionKeyId?: string;
                    passwordEncryptionPubKey?: string;
                    pigeonSessionIdLifetime: number;
                    regionHint?: string;
                    rmd?: { kind: "no-valid-map" | "url-eligible" };
                    rur?: string;
                    sessionStartPhase?: "starting";
                    shbid?: string;
                    shbts?: string;
                    thumbnailCacheBustingValue: number;
                    xMetaUsdid?: string;
                    xMid?: string;
                    zeroInterface?: boolean;
                    zeroPhase?: "logged-out" | "authenticated" | "rmd-evaluated";
                };
                startedWithSession: boolean;
            },
        ) => Layer<TransportProtocolState | Transport>

      Returns Effect<AndroidAppLaunchScreen, AndroidAppLaunchSimulationError, Scope>