In this article
Learn how to add your Android app's SHA key and package name in the Portal, so your customers can install their eSIM directly through your app. You'll also learn how the key is checked to keep installs secure.
What it does
Providing a SHA-256 certificate fingerprint (SHA key) lets you enable a branded installation flow through your own Android app. The key is used for validation, so your Android app can manage the installation and management of the eSIM.
Benefits:
- The eSIM can be installed directly through your app.
- Your customer has a smoother and more trusted experience.
- The installation feels like a natural part of your app instead of sending users somewhere else.
Tip: If you have an Android app, use direct install to keep the whole purchase and install journey inside it. Your customer never leaves your app, which gives them a smoother, more trusted experience and keeps them with your brand.
Before you start
- Whether the Android direct install SHA key is available to you depends on your tier. If you are unsure, contact eSIM Go at https://esimgo.com/contact.
- You need the SHA-256 fingerprint of the certificate used to sign your Android app. You get it from your Android app signing setup; see Google's Android developer documentation.
- You need the package name from your Android app.
Set up the SHA key
You set the SHA key and package name once in a branding profile under Configure > Branding in the Portal. They are not sent per order.
- In your Portal, go to Configure > Branding, open a profile and go to the Android Install section.
- Enter your fingerprint SHA key and your app's package name in their fields.
- Click Save.
The fingerprint SHA key should be no longer than 128 characters. The package name is the one from your Android app.
How it works
- Android uses SHA keys to verify the integrity and authenticity of downloaded content, particularly for app installations.
- Developers sign the app with their private key. This creates a digital signature for the app package (APK).
- The public key certificate used for signing is hashed using SHA-256, creating a unique fingerprint.
- Addition to eSIM: our eSIM provider encodes this SHA key into the downloadable eSIM. It is part of the payload, not part of the QR code.
- When the eSIM is downloaded, Android checks this fingerprint against the one associated with the app in the Play Store or other trusted sources.
- If they match, it confirms the eSIM has not been tampered with since it was signed by the developer.
- Because the same signing key is used, there is a chain of trust and the app can directly install the eSIM without your customer having to take any action.