Device Management MDM

How to deploy self-hosted private apps

In addition to the many features provided by the Managed Play Store to manage your Private Apps, you can also manage and distribute the Apps you have hosted in Applivery or even in other platform. There are a few requirements and steps that you should follow in order to enable that feature:

Requirements:

  1. You must have an active Android Developer License
  2. You can not use the Google Play Managed accounts that are generated automatically when uploading Apps through your Managed Play Store since these accounts are not – and can not be – linked with an active Android Developer Account.
  3. Self-hosted private Apps must be configured in the Google Play Account that has amd active Android Developer License.

Once you are sure you meet the requirements, you can proceed with the following configuration steps:

Step 1 - Create and configure a new App in your Google Play Console #

Step 1.1 - Create a new App in the Google Play Console #

Go to the Google Play Console and login in with your Android Developer account. Once inside, Click the “Create app” button and fill out the form.

Step 1.2 - Complete your Store listing information #

Once created you will be required to complete the App listing information with all the details of the App, including icons, screenshots, descriptions, etc.

Step 1.3 - Make it private and share it with your Applivery Managed Google Play #

You should remember that you are creating and uploading an App into your Google Play Account that is not the same account that you have configured in Applivery so the next step is quite important to:

  1. Make your App Private
  2. Share it with the Applivery Managed Play Store.

Going back to the Google Play Console and inside your App, navigate to the “Setup > Advanced settings” section, go to the “Managed Google Play tab” and enable the “Restricted access to your app and manage closed testing tracks” option. Below will appear a new section that will restrict which organizations will have access to you App.

Click the Add organization button and enter your Applivery Android MDM organization ID. You can find it in your Applivery Dashboard by navigating to Device Management > Configuration > Android Setup. It will be displayed at the top of the page as Enterprise ID.

Make sure you Save the changes. Once done, your App will be only available to the users of your Applivery MDM.

Step 2 - Configure the Applivery project #

Step 2.1 - Get the RSA Public Key of your App #

Now that your App listing is completed, go to the “Monetisation setup > Licensing” section. There you will find the Base64-encoded RSA Public Key of your App that Applivery will use to secure and verify the origin of the downloads from your Managed Play Store.

Copy the string. You will need it in the next step.

Step 2.2 - Configure your App in the Applivery Dashboard #

Now go to the Applivery Dashboard and navigate to your App. Once there, go to the “Settings > Advanced” section. Paste the RSA Public Key under the Google Play license key text area.

Step 2.3 - Upload a new build #

Upload a new android build to your App. Applivery will automatically generate a JSON file that contains all the information of your App. Once finished the upload, click the build and  “Download JSON” file.

Step 3 - Upload and release the App #

Now that everything is set and still in the Google Play Console, start a new Production release. Choose the JSON file you just downloaded in the previous step and upload it under the “App bundles and APKs” section. Complete the rest of the fields. Once ready click “Save and Review” release to complete the process.

Review all the information in the next screen and, once ready, click “Start roll-out to Production” to release your App.

Please note that although there is no review by Google of the Self-hosted Private Apps, it will take a few hours for the app to be available to users.

— talk to an expert —

Schedule a demo