DPS SDKs
DPS publishes one package for apps built on top of it: @duabalabs/dps-client, which
answers whether a user has an active subscription to your app.
Taking money — donations, one-off payments, subscriptions, invoices — is not done through
DPS. Use @duabalabs/sellub-client, served by Sellub.
| Package | What it’s for | Runs in |
|---|---|---|
@duabalabs/dps-client | Check whether an email has an active subscription for an app — the gate in front of paid features | Browser, React Native, Node |
npm install @duabalabs/dps-client parseMobile builds and releases
There is no SDK to install for mobile builds. DPS writes a GitHub Actions workflow into your
app’s repository and builds there, using a deploy token you save as a repository secret —
see Mobile builds & releases. From other CI systems, upload builds with
the REST API under /api/v1 (API reference).
Versioning
dps-client is at 0.3.x. Below 1.0.0 a minor version may break, so pin an exact version
in production.
Related
- Sellub SDKs — the commerce packages.
- DPS API reference.
Last updated on