By following these steps, you’ll be prepared to provide the SHA-256 fingerprint of your app’s signing certificate and seamlessly integrate native-display checkout using our SDK.
Keytool: A command-line tool for managing Keystores and certificates, usually included with the Java Development Kit (JDK). Ensure the JDK is installed on your machine.
If you already have a Keystore for your application, you may skip this step.
your_keystore_path
: The location where you want to save the keystore file (e.g., my-release-key.jks
).your_alias
: The name you’ll use to refer to your key, typically your package name (e.g.,com.org.name
).After running the command, you’ll be prompted to enter the following information:
Confirm the details after entering them.
Once your keystore is generated, you can extract the SHA-256 fingerprint by running this command:
Replace your_keystore_path
and your_alias
with the values you used during keystore creation.
In the command output, find the line starting with SHA256:
. Your fingerprint will look like this::
Note: This is a public key and does not contain sensitive information about your game.
Provide both the package name and the SHA-256 fingerprint to the Appcharge team for integration.