DENT Gigastore Documentation
  • Introduction
  • Start with Gigastore
    • Create an Account
    • Add Credits
    • Configure Inventory
    • Set Up Auto Top-Up for Credits
  • Technical Integration
    • API Integration
    • SDK Integration
  • API
    • Getting started
    • Open API Specification
    • Postman Collection
    • API Authentification
    • Offering Packages
    • Countries API
    • Supported Devices API
    • Customers
    • First Package
    • eSIM Profiles
    • Top-up
    • Package Refund
    • Error Handling
  • Webhooks
    • First Steps
    • eSIM Status
    • Balance Alert
    • Country Change
  • iOS SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • iOS Universal Link
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
  • Android SDK
    • First Steps
    • Download SDK
    • Enable Direct Installation
    • Integrate SDK
    • Prepare eSIM Installation
    • Install eSIM
    • Testing
  • SDK Webhooks
    • Activation Request
    • Customer Registration
  • Guidelines
    • UX Guide
  • Customer support
    • Gigastore for Support Teams
    • Connectivity
    • Changing Device
    • Package Refund
Powered by GitBook
On this page
  • Check for eSIM capable device
  • Activate Inventory Item using API
  • Retrieve the profile

Was this helpful?

  1. Android SDK

Prepare eSIM Installation

PreviousIntegrate SDKNextInstall eSIM

Last updated 6 months ago

Was this helpful?

Check for eSIM capable device

First, you need to check if the device is eSIM capable.

This query may take some time to complete.

Gigastore.isEsimCapable { isCapable ->
    Log.i("GigastoreSDK", "isCapable: $isCapable") 
}

If a "false" is returned from the query despite the following criteria being met:

  • Your is eSIM capable

Then there is likely another problem.

If this problem persists, don't hesitate to contact support@dentwireless.com.

The isEsimCapable method can be used to check whether the user's device is eSIM capable or not.

Activate Inventory Item using API

Implementation changed with SDK version 1.1.

To install an eSIM, an inventory item must first be activated using the Gigastore API on your server. For more information, refer to the First PackageAPI documentation.

Use the esimProfile.uid parameter of the API response and transfer it securely to your app.

Retrieve the profile

val profileUID = "123456-abcde-abcde-789" // from API
Gigastore.getProfile(CONTEXT_PLACEHOLDER,
                     profileUID) { profile, error ->
    Log.i("GigastoreSDK", "PreparedProfile: $profile)
    Log.i("GigastoreSDK", "error: $error")
})

Make sure to replace CONTEXT_PLACEHOLDER with your current Activity or Application context.

Use the getProfile method with the created profile uid to fetch all needed profile data. The method will return a profile you can install in the next step using .

Install Profile
device