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

    Type Alias DismissSplashScreenResponse

    DismissSplashScreenResponse:
        | { status_code: 204 }
        | { error: string; status_code: 400 }
        | { error: string; status_code: 403 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }

    Response when dismissing the splash screen.

    Possible status codes:

    • 204: No splash screen shown, or it was closed successfully.
    • 400: Invalid input (Grablet / client validation error).
    • 403: Missing consent for the required OAuth scope.
    • 500: Unexpected error while invoking the native bridge.
    • 501: Not in the Grab app WebView environment.

    Success (204):

    { status_code: 204 }
    

    Bad request (400):

    {
    status_code: 400,
    error: 'InvalidInput: client input not valid'
    }

    Forbidden (403):

    {
    status_code: 403,
    error: 'NoAccess: client requesting for not consented scope'
    }