Skip to main content

Enterprise Distribution

For enterprise applications which are not available on play store, please follow these steps to ensure a smooth experience.

Distributions

PhonePOS SDK

For a proper integration in your application you need to share your public release signing key with us. We will integrate this key into our code protection. The signing key is checked during runtime and a wrong singing key will cause PhonePOS to crash to prevent attackers from modifying and repacking the application These are the steps to obtain the public key from the signing keystore

1. Locate the Keystore File : The keystore file is usually generated during the process of signing your Android application. If you're using Android Studio, it's often stored in the "keystore" folder within your project directory.

2. Extract Public Key : You can use the keytool, a key and the certificate management utility provided by the Java Development Kit (JDK), to extract the public key from the keystore file. Open a command prompt or terminal window and run the following command:

keytool -list -rfc -keystore your_keystore_file.keystore | openssl x509 -inform pem -pubkey

Replace your_keystore_file.keystore with the name of your keystore file.

Enter Keystore Password: You will be prompted to enter the password for the keystore file. Enter the password and press Enter.

After entering the password, the command will output the public key in PEM format.
You can copy the public key from the terminal window or save it to a file to share with us.

PhonePOS APK

We already sign the all APK deliveries with the final signing key and integrate it into our code protection. Please note that resigning the APK with an unrecognised signing key will cause PhonePOS to crash, as already mentioned in the chapter above.