How to Sign Apps: Difference between revisions

From wizarPOS
(Replaced content with "{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/app-signing-process}}")
Tag: Replaced
 
(48 intermediate revisions by 4 users not shown)
Line 1: Line 1:
== WizarPOS sign necessity ==
{{Migrating|https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/app-signing-process}}
Basicly, In Android system, all the application should be signed before installed to terminal. The key used to sign apk is the private key of a RSA key pair in a keystore. So in the keystore, there is a key pair (private key/ public key) and the public key's certificate.
Please refer to [https://developer.android.com/studio/publish/app-signing.html Google's resource] for detail.
In the signed apk, the certificate relevant to the signing private key is included in the package.
WizarPOS terminals are based on Android System.
There are two mode of terminal:
* production/user mode terminal
In the production terminal, the public key of the signing private key of the apk will be checked, it should be issued by the app root public key. by default, there is default wizarpos root public key in the terminal. So you can request production public key to us for your keystore (which will be used to sign apk). The apply step is describe in the document wizarPOSDevCertificateApplyGuide_en.pdf.After get the response file from us, you should import the file to your keystore, then all the apk signed by this keystore can be installed to production terminal.
* developing/engineer mode terminal
The developing terminal do not check public key. It's for the developer to debug their app, so it has USB connection and can use adb debug.
 
Please notice, because of this difference, if your developing terminal switch to production terminal, all the application you installed in terminal, which is also not signed by above keystore, will be removed automatically.
Of cause, the default wizarpos root public key can be updated to terminal owner's root public key in future. So the terminal owner can control there apk certificate by themselves.
 
== How to sign app ==
=== sign in an application project ===
Please refer to [https://developer.android.com/studio/publish/app-signing.html Google Sign APP]
=== sign an apk===

Latest revision as of 03:16, 8 April 2024

Please visit new link of same subject:

https://smartpossdk.gitbook.io/cloudpossdk/faq/other-development/app-signing-process

We're making a move! Our site's content is migrating to a new URL, to provide you with an enhanced browsing experience. Please update your bookmarks accordingly. Thank you for your continuous support!