Skip to main content

Integrate Our Android Billing

The Aptoide Android Billing SDK offers a streamlined way to integrate Aptoide Connect billing. It enables you to sell digital products and manage subscriptions without building a custom billing system from scratch.

The SDK features a robust Billing Client that interfaces directly with Aptoide Services to retrieve product metadata, secure payments, and manage the entire purchase lifecycle.

The Billing Integration Journey - In Summary

Integrating the SDK follows a standard 3-phase flow:

Phase 1: Setup & Products Catalog creation

  1. Initialize Connection: Setup connection with Aptoide Android Billing SDK;
  2. Query Products: Fetch available In-App Products and localized pricing directly from Aptoide SDK;

Phase 2: The Transaction

  1. User Intent: The end-user selects a product to purchase within your app;
  2. Launch Payment: Your application triggers the payment flow via the SDK;
  3. SDK Payment Handling: The SDK manages the secure payment process and provides a callback to your application upon completion;

Phase 3: Validation, Delivery and Consumption

  1. Server-Side Validation: Your application verifies the legitimacy of the transaction via a Server-to-Server check;
  2. Deliver Product: Once validated, grant the digital content or service to the end-user;
  3. Consumption: Your application notifies Aptoide via server-side Consume API that the product has been successfully consumed/delivered;
Android Billing SDK purchase flow diagram

Minimum Requirements

Before you begin the integration, ensure your development environment meets the following technical specifications:

RequirementMinimum Version
Android SDKminSdk 21 (Lollipop)
Gradle Plugin8.6
Build Tools8.4.0

Feature Availability by Platform

The Aptoide Billing SDK exposes a different set of features on Android and iOS:

FeatureAndroidiOS
In-app purchasesYesYes
App UpdatesYesNo
Referral DeeplinksYesNo

Neither platform provides an in-app review popup (there is no equivalent of the Google Play In-App Review API). For iOS, see the iOS Billing SDK.

Next Steps

Ready to start coding? Head over to the Release Notes to see the latest features, or jump straight into the Android Billing SDK Integration guide to set up your first project.