Prepare eSIM Installation

Check for eSIM capable device

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

This query may take some time (up to multiple seconds on some devices) to complete. Make sure you wait for the completion before triggering an eSIM installation.

Gigastore.isEsimCapable(completion: { (isCapable) in    
    print("\(isCapable)")}
)

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

Then there is likely another problem.

If this problem persists, please 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

The activateItem can be used to activate one item from your DENT Gigastore inventory and provide an installable eSIM profile. Check the inventory details to find the matching Inventory IDs.

You can add additional information in the metatag parameter. This information will be stored in Gigastore and is available in the "Sales History" section.

To verify the device and user, our server will send a WebHook ActivationRequest including the passed parameters to your server.

The method will return a profile you can install in the next step using Install Profile.

let inventoryItemId = "1GB"
let metaTag = "additional information for you"
Gigastore.activateItem(inventoryItem: inventoryItemId,
                             metaTag: metaTag
                          completion: { (profile, error) in
    print("PreparedProfile: \(profile), error: \(error)")
})

Last updated