Self-hosted apps

Self-hosted Android apps offer companies and organizations control over their data and allow them to increase their privacy and security. By installing and managing these apps on their own servers, they retain full control over their sensitive information while reducing their dependence on external service providers.

This function is available from Relution Server 5.23.


Prerequisites

  • It is necessary to have an active Android developer license.
  • The automatically generated Google Play Managed accounts cannot be used when uploading apps via the Managed Play Store, as these accounts are not linked to an active Android developer account and cannot be linked.
  • Self-hosted private apps must be configured in the Google Play account with an active Android developer license.
  • A Google account must be linked to Relution (Home → Settings → Android Enterprise).
On devices with a work profile, self-hosted apps cannot be installed remotely by IT administrators. Users with a work profile must install these apps manually via Managed Google Play.

App and metadata

  1. The apk file must be uploaded in Relution under Home → Apps → App Store → Add (dialog Add a new app). An existing app can also be used.

    The app version must have the Release status in Relution. The Google Play: Self-hosted apps section is only displayed in the Information tab if the version under Release is selected there.
  2. The metadata must be downloaded in json format via the Download button in the Google Play: Self-hosted apps section of the app’s Information tab.

    Relution app store showing metadata download button in app information tab


Create app

  1. The Google Play Console → is opened.

  2. A new app is created via Create app.

    Google Play Console Create app button for new self-hosted app

  3. The app details are added.

    Google Play Console app details form for self-hosted app configuration

    An app icon can be added under Grow → Store presence → Main Store listing in the Graphics section.

  4. The countries in which the app should be available are added under Release → Production → Add countries / regions.

    Google Play Console country/region availability settings for app release

  5. A new release is created under Release → Production → Releases → Create new release.

    Google Play Console create new release button in Production track


Signing

  1. The signing key is selected via Use a different Key → Opt out of Play App Signing → Opt out.

    Google Play Console signing key selection with Opt out of Play App Signing option

    Google Play Console app signing opt-out confirmation dialog step 1

    Google Play Console app signing opt-out confirmation dialog step 2

    Google Play Console app signing opt-out final confirmation step

  2. The json metadata file from step 2 of the “App and metadata” section is uploaded, then Next and Save are clicked.

    Google Play Console JSON metadata upload from Relution portal for self-hosted app

  3. The change is submitted for review via Send 1 change for review.

    Google Play Console send changes for review button to submit self-hosted app


Release app for organization

  1. The Google Organization ID is copied from the Relution portal under Home → Settings → Android Enterprise and added to the Google Play Console.

    Google OrganizationID field in Relution Android Enterprise settings for app release

  2. The RSA key of the app is copied under Monetize → Monetization Setup and added to the app in Relution.

    Google Play Console Monetization Setup page showing RSA key for self-hosted app

  3. The RSA key is pasted in Relution into the Google Signature Verification Key field in the Google Play: Self-hosted apps section of the Information tab of the released app version and saved with Save. This step is only needed once per app, not per version. As of Relution 26.5.5, the key can only be saved in the organization that owns the app and only with the right to edit the app (e.g. app permission Owner, Reviewer or Developer). For apps shared from the global organization or a meta organization, sub-organizations cannot change the key; it is maintained in the owning organization.

    Relution app Information tab showing RSA key field for self-hosted app configuration


Update existing app

  1. A new version of the apk is uploaded to the Relution App Store under Home → Apps → App Store → App.

  2. The metadata (json) is downloaded.

    The most recent version in the Google app store seems to be x.xx. If the current json has not been uploaded yet, it should be uploaded now. It might take some hours until Google updates their site, this warning will then disappear.
  3. A new app release is created in the Google Play Console.

  4. The metadata (json) of the app from Relution is uploaded.

  5. The change is sent for review.


How helpful was this article?