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

Was this helpful?

  1. Android SDK

Install eSIM

Use the installProfile to install an eSIM profile on a user's device. The device operating system will show up an installation wizard for the user.

Use the output of the getProfile method (see Prepare eSIM Installation) to install a dedicated profile on the device.

val profile = <use getProfile method>
Gigastore.installProfile(CONTEXT_PLACEHOLDER,
                         profile) { profile, error ->
    Log.i("GigastoreSDK", "Profile: $profile")
    Log.i("GigastoreSDK", "Error: $error")
})

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

This function returns either the installed profile or an error object containing the error.

Release Mode

To install a DENT eSIM profile directly on an Android app, the app needs to be signed properly, and the SHA1 of the Keystore needs to be registered at DENT.

As debug builds often don't sign the app with the production keystore, please make sure to test the installation with the keystore by running a Release Variant Build.

PreviousPrepare eSIM InstallationNextTesting

Last updated 6 months ago

Was this helpful?