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

    Type Alias IsEsimSupportedResponse

    IsEsimSupportedResponse:
        | { error: string; status_code: 403 }
        | { error: string; status_code: 500 }
        | { error: string; status_code: 501 }
        | { result: boolean; status_code: 200 }
        | { error: string; status_code: 424 }
        | { error: string; status_code: 426 }

    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.
    • 403: Forbidden - client not authorized to query eSIM capability.
    • 424: Failed Dependency - underlying telephony/eSIM service unavailable.
    • 426: Upgrade Required - feature requires Grab app version 5.402 or above.
    • 500: Internal server error - an unexpected error occurred on the native side.
    • 501: Not implemented - this method requires the Grab app environment.