Native SDKs
Planned
These SDKs are on the roadmap and not available yet:
| Platform | Form |
|---|---|
| iOS | Swift Package (StoreKit 2) |
| Android | Kotlin package (Play Billing) |
| Flutter | Dart package |
| Unity | UPM package |
They will share the same method names as the React Native SDK (configure, getProducts, purchase, restore, getCustomer, customer listeners, pending transaction sync, checkout) and the same error codes.
Until then a native app can call the client API directly: submit the StoreKit 2 jwsRepresentation or the Play purchaseToken to POST /v1/receipts with the public key, and finish the transaction only after a 2xx response. Set appAccountToken (iOS) or obfuscatedAccountId (Android) to the user id you submit.