@grabjs/superapp-sdk
    Preparing search index...

    Type Alias RedirectToSystemWebViewResponse

    RedirectToSystemWebViewResponse: BridgeResponse<
        200
        | 400
        | 424
        | 500
        | 501,
        RedirectToSystemWebViewResult,
    >

    Response when redirecting to the system web view.

    This response can have the following status codes:

    • 200: Redirect initiated successfully.
    • 400: Invalid URL, domain not whitelisted, or missing callback URL.
    • 424: ASWebAuthenticationSession error - dependency error on iOS.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.

    Success response (200):

    { status_code: 200 }
    

    Bad request response (400):

    {
    status_code: 400,
    error: 'Invalid URL or domain not whitelisted'
    }

    Failed dependency response (424):

    {
    status_code: 424,
    error: 'ASWebAuthenticationSession error'
    }

    Internal server error response (500):

    {
    status_code: 500,
    error: 'Internal server error'
    }

    Not implemented response (501) - outside Grab app:

    {
    status_code: 501,
    error: 'Not implemented: This method requires the Grab app environment'
    }