Bandwidth sharing SDK for apps, devices and fleets
Coronium has two ways to put bandwidth sharing into a product: an Android library for an app whose purpose is sharing, and the agent itself for desktops, device products and fleets. This page states each as it stands today.
The Android library is preview and cannot ship to users yet: its notice to the user is not approved.
Updated Read as Markdown
The Android library, as it stands
The Android library lets the user of your app share the phone's connection. /kit/index.json lists it as preview, with three limits:
sharing_apps_only: it is only for an app whose stated main purpose is sharing its user's connection. It never ships inside a game, a utility or any other app. Store declarations says where such an app may ship.notice_proposed: the notice the library shows its user is proposed and not approved. Until it is, this site enrols no device from an app, and an app that is not debuggable opens no consent screen.container_run_only: it was run end to end on a development Android instance, never on a phone.
So today you can build with the library and test it in a debuggable app. The Android library has the dependency, the calls and the states.
Desktops, home servers and fleets: the agent and enrolment by token
A desktop app, a device product or a fleet runs the same agent a device owner runs: the Linux kit, the Docker image, the Windows program or the program alone. Each device must sit on a home or mobile network. A machine in a data centre earns nothing.
For many devices, enrolment by token lets each device enrol itself. The device holds no session and no access code, and no device secret crosses the network. The token routes answer enrol_tokens_off until the operator opens them, and an app token answers app_devices_off. Until then your account adds each device with POST /app/api/devices. Many devices has the calls.
What your users must be shown and agree to
In an Android app, the library does this itself, and your app may not change it:
- Only the user turns sharing on, on a screen the library shows, with the sharing notice unchanged.
/kit/APP-NOTICE.mdis that notice. - Your app cannot turn sharing on, hide it, restyle or shorten the notice, accept it for the user or bring it back after a no. It may always turn sharing off.
- No other feature of your app may depend on sharing.
- While the phone shares, a notification says so and carries
Turn off. - The phone shares only while it charges and its network is not metered: not on mobile data, not while roaming and not through a VPN.
- The notice states a daily limit. Your app may lower it and may never raise it.
- Your privacy policy, your store listing and your app name the sharing and what Coronium receives.
- An app aimed at children may not hold the library.
For desktops and fleets, the account that mints a token signs the partner agreement, and every device added with that token is added by that account. You need the yes of each device's owner, and everyone who uses the connection must know that it is shared.
How earnings are attributed
- Every device enrolled under your account, by token or one by one, earns for your account. Your statement lists each day, device and country with the bytes, what buyers paid and your share.
- Each device earns the share in your account's terms, which
terms.shareBpofGET /app/api/earningsanswers. There is no payment per install or per active user, and no referral or bonus scheme. - Rewards to your users are yours to pay. Keep each device id beside your own user. A reinstall is a new id.
GET /app/api/devicesfilters devices bytokenand byapp, and counts them for each app.- The edge alone meters. The library's own daily count is a stop on the phone and is sent nowhere.
Integration steps
- Make the account and sign the partner agreement: enrolment.
- Choose the file for each system and check its digest: the agent files.
- Run it: the Linux kit, a container, Windows, macOS or the program alone.
- For many devices, mint a token and let each device enrol itself: many devices.
- In an Android app, add the library and read the store rules: the Android library and store declarations.
- Watch each device's state and health: device states and device health.
- Read what each device earned and how it is paid: the statement guide.
Every integration in one file holds all of these in order, as Markdown for you or for an AI agent. The API document has every call, and the index for agents says which file answers which question.
What is on request
What sharing means for the person whose connection it is, and what a device earns, is on the bandwidth sharing page. To start, create an account.