# In-app purchases & subscriptions

Use Aplyna for native subscription billing: StoreKit purchases, restore purchases, server-verified entitlements and subscription lifecycle checks. Start with the current iOS pilot.

## Start with your billing integration

Aplyna provides a native billing SDK boundary and server-side purchase verification. The current iOS pilot covers Swift, React Native and Flutter. Billing identity is separate from analytics installation identity and consent; a recorded trial event never grants paid access.

- [Billing quickstart](https://aplyna.com/docs/billing-quickstart): Connect an iOS store configuration, load mapped products and verify Sandbox access.
- [Aplyna vs RevenueCat](https://aplyna.com/compare/revenuecat): Compare the documented billing workflows, distribution and current release boundaries.
- [Coding assistant setup](https://aplyna.com/docs/ai-billing): Install the Aplyna billing skill in Codex or Claude Code.

## Choose your platform

| Platform | Billing scope | Distribution and evidence |
| --- | --- | --- |
| Swift / iOS | StoreKit purchase, restore and verified access pilot. | Swift Package Manager 1.0.1; physical Apple Sandbox lifecycle checks recorded. |
| React Native / iOS | Aplyna.billing uses the same StoreKit core. | npm package 1.0.1; physical Sandbox and internal TestFlight host checks recorded. |
| Flutter / iOS | Aplyna.billing exposes purchase, restore, sync and entitlement checks. | pub.dev package 1.0.1; physical Apple Sandbox host checks recorded. |
| Android / all frameworks | Play Billing implementation under device validation. | Unreleased checkout work; public Android source downloads do not establish purchase support. |

> **Pilot availability**
> These SDKs carry an early-access billing pilot, not a general production-readiness claim. Android store acceptance, authenticated cross-device migration and durable offline access remain separate release work.

- [Swift / iOS](https://aplyna.com/docs/ios): Add the Swift package to Xcode.
- [React Native](https://aplyna.com/docs/react-native): Install the source package and rebuild the native iOS app.
- [Flutter](https://aplyna.com/docs/flutter): Add the source plugin as a path dependency.

## Verify the full subscription lifecycle

Physical iOS Sandbox testing has recorded purchase and trial conversion, restore and relaunch, renewals, cancellation with paid access retained, expiry, signed grace and payment recovery. React Native host testing also recorded signed refund/revocation and retry after a failed purchase submission. Those results apply to the tested hosts and builds; they do not certify every SDK, store or production scenario.

Ask-to-Buy pending completion, automatic migration of existing subscriber identities and durable offline authorization are not established by those checks. Flutter's earlier refund-request cases did not establish an approved early revocation. Keep these gaps in your own acceptance plan.

- [Purchases](https://aplyna.com/docs/purchases): Use mapped products and store-supplied prices.
- [Restore purchases](https://aplyna.com/docs/restore-purchases): Recover purchases for the same verified billing customer.
- [Entitlements](https://aplyna.com/docs/entitlements): Check actual access, expiry, grace and revocation.
- [Verification & events](https://aplyna.com/docs/billing-verification): Understand the SDK gateway, signed proof and store notifications.
