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

    Type Alias IsEsimSupportedResponse

    IsEsimSupportedResponse: BridgeResponse<200 | 500 | 501, IsEsimSupportedResult>

    Response when checking whether the current device supports eSIM.

    This response can have the following status codes:

    • 200: eSIM capability was checked successfully. The result contains true or false.
    • 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) - eSIM supported:

    {
    status_code: 200,
    result: true
    }

    Success response (200) - eSIM not supported:

    {
    status_code: 200,
    result: false
    }

    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'
    }