Skip to content

P2PSDK integration documentation

Ship a consent-first revenue layer without making network lifecycle, native handles, or reconnect policy part of your product code.
SDK v1.0.0

P2PSDK embeds an opt-in network peer in your application. The supported wrappers own the native runtime, device identity, consent state, callback dispatch, and error mapping. Your application owns when to offer the feature, how to reward the user, and the lifetime of the SDK instance.

  1. Complete onboarding and receive the package, application API key, consent configuration, and test environment.
  2. Install exactly one supported wrapper and its matching native artifact.
  3. Let the SDK-owned consent UI return an accepted SDK instance.
  4. Attach lifecycle handlers and call connect().
  5. Treat the connected event — not the return from connect() — as the online signal.
  6. Expose consent revoke and release the SDK exactly once during final shutdown.
  • Copy-ready setup for Android, iOS, Node.js, Electron, Windows/.NET, and Linux native applications.
  • Consent, identity, lifecycle, background execution, errors, logging, testing, and release readiness.
  • Public wrapper APIs and the stable native C ABI required by application developers.
  • Troubleshooting paths and a sanitized support bundle checklist.

Backend signing, discovery implementation, transport protocol, and SDK maintainer workflows are intentionally outside the public application documentation.

If you are…Continue with
Evaluating fitCompatibility and supported platforms
Ready to integrateIntegration quickstart
Waiting for artifactsPrivate package access
Integrating the REST APIControl Plane API reference
Preparing releaseProduction checklist
Diagnosing a problemTroubleshooting