The first thing you need to do to deploy the app is to have a Google Play Developer account. Afterward, you need to create an organization. To create those, follow this guide: https://developer.apple.com/support/app-account/#organization
From the Google Play Console we will manage our organization. To add a user, we should go to ‘Users’ under ‘Users and Permissions’ and ‘Invite new users.’
We need to give ‘App permissions’ and ‘Account permissions’
In order to distribute the app, it needs to be signed with a release key. To generate it, we can use this command:
Windows
Run from C:\\Program Files\\Java\\jdkx.x.x_x\\bin
, as administrator.
keytool -genkeypair -v -storetype PKCS12 -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
Mac
Navigate to that directory by using the command cd /your/jdk/path
and use the keytool command with sudo permission, as shown below.
sudo keytool -genkey -v -keystore my-upload-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
The name of the keystore
and the alias
can be changed. This command will ask for a password for the keystore and for the alias (you can use the same for both).
<aside> <img src="/icons/cellular_gray.svg" alt="/icons/cellular_gray.svg" width="40px" /> This key will be used for all future updates. Keep this and the passwords in a safe place
</aside>