# Shipping an app that holds the Android library

What an app that holds the [Android library](/guides/device-android-sdk.md) declares, and where it may ship. The publisher answers for every library in its app. Read each store's own policy before you submit: this page states what Coronium read in each store's policies on 27 November 2026, among them Play's Device and Network Abuse policy and its foreground service declaration, and does not replace them.

## Where it may ship

- Google Play: only in an app whose primary, user-facing purpose is sharing its user's connection, which says so in its listing and in the app. Play's policy allows proxy services for others only as an app's core purpose; consent does not change that, so the library never ships in a game, a utility, a VPN or any other Play app.
- Amazon Appstore: not at all. Its policy forbids apps that offer proxy services to anyone other than the device's owner.
- Other stores: treat each like Play until it answers in writing, and ship nowhere whose rules you have not read.
- Given out directly: Play Protect still judges the app on any phone with Google Play services, and Android's developer verification applies to sideloaded apps from 2027. Register as a verified developer, say on the download page that the app shares its user's connection, and ask for no permission beyond the library's own.
- No children: an app aimed at children, or at children and adults, may not hold the library.

## The foreground service

The library's service is of type `specialUse`, the type for a use no other type covers. It is started only by the user's own action in your app and shows a notification with `Turn off` while it runs. In the Play Console's foreground service declaration, describe it in these words, which the library's manifest also carries as its subtype:

> Shares this phone's internet connection with the Coronium network, only after the user turned sharing on in this app and only while a notification says so; the user turns it off from that notification or the app's sharing settings.

Add the user impact (sharing that the system defers or interrupts stops until the conditions return), and a video that shows the consent screen, the notification and `Turn off`.

## The data safety form and the privacy policy

What the library sends, and what Coronium keeps:

- A random id made for the install, never a hardware or advertising id, and the SHA-256 of a secret that stays on the phone.
- The app's package name, the library's version and the version and SHA-256 of the notice the user said yes to; Coronium adds the time.
- The phone's public address, seen by the network while it is connected, with the country, region, city and operator of that address, and the bytes carried.
- Nothing else: no name, contact, location, message, photo, browsing data, locale, model or other app's traffic.

Declare the device id and the address as collected and shared with Coronium for the sharing feature. Name the sharing, and what Coronium receives, in your privacy policy, in the store listing and inside the app.

## What the app may not do

- Change, restyle, shorten, hide or accept the notice for the user, or make any other feature depend on sharing.
- Start sharing itself: the library has no call for it, a start of its service that the library did not ask for stops itself, and it starts nothing at boot, at install or when the app starts. Reaching around the library's calls into its inner classes is not allowed either.
- Ask for an exemption from battery optimisation: the library shares only while the phone charges and needs none.
- Download code after install: the library's core ships inside the app and never updates itself.
- Build for a page size the store refuses: the library's native code is aligned for 16 KB pages, and your app's own must be too.
