Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io

    RevenueCat integration

    See it in the demo — Bring your history with you (~90s)

    Overview

    Yes, BillDog imports your existing App Store and Google Play subscribers from RevenueCat (RC): upload RC's Transactions export and BillDog verifies each subscription with Apple or Google, so your users don't re-subscribe. There are two ways to work with RevenueCat: that data import, available today, and a RevenueCat bridge that keeps RC making purchases while BillDog records them, available today for React Native and coming soon for iOS and Android.

    Path 1 · Import your RevenueCat data

    File import from a RevenueCat export

    Available

    Open Import → RevenueCat in the dashboard (/dashboard/import/revenuecat) and upload RevenueCat's Transactions export (Scheduled Data Export with the Transactions feed, CSV): the latest transactions_<timestamp>.csv.gz as is. JSON, CSV and CSV.gz are accepted. RevenueCat has no customers or subscriptions export, so those slots are optional. There is no API-key connection; the importer only reads the files you upload.

    • Customers are created or matched by their RevenueCat app user ID.
    • Products named in the export are created if they don't exist yet.
    • Subscriptions and transactions from web and other non-store sources (for example Stripe) are imported, with the entitlements they list.
    • App Store and Google Play subscribers are imported live. The export only tells BillDog which subscriptions to look up: the original transaction ID for the App Store, and the order ID (or purchase token) for Google Play. BillDog then asks Apple and Google for each one, so the expiry date, renewal state and entitlements come from the store, not from the export. Renewals, cancellations and refunds keep updating afterwards. This needs your App Store and Google Play credentials in Project Settings → Settings → Store Setup; rows that arrive before the credentials are kept and applied once they're verified. Historic purchases don't fire webhooks, journeys or currency grants.
    • Amazon and Roku rows are skipped and reported as IMPORT_UNAVAILABLE_LEDGER_V2.
    • Sandbox rows go to the app user's sandbox customer; a purchase already recorded in the other environment is skipped.
    • Google keeps an expired subscription readable for about 60 days, so older expired Play purchases may be reported as not found. Active subscribers are unaffected.
    • Offerings, paywall designs and experiments are not imported. Recreate them in BillDog.

    Rows already in BillDog are recognized by their store transaction ID and not imported twice, so you can re-run it with newer exports as you migrate. Dashboard → Import → history lists every store subscriber as imported, already imported, pending (retried automatically) or skipped, with the reason.

    Server import from your own records

    If your server already holds the store IDs, post them to POST https://api.billdog.io/v1/import-store-subscribers with your secret key: an app_user_id plus an original_transaction_id (App Store) or a purchase_token or GPA. order_id (Google Play). Up to 500 subscribers per request; re-posting one answers already_imported. A sandbox secret key imports into sandbox, a production key into production, and public keys are refused. Each subscriber is verified with the store the same way as the file import.

    For the whole migration, in order (store credentials, notifications, entitlement mapping, import, SDK, parallel run, cutover), see the RevenueCat migration guide and the step-by-step migrate-from-RevenueCat codelab.

    Path 2 · RevenueCat bridge
    React Native today · iOS, Android coming soon

    RevenueCat makes the purchase, BillDog records it

    The bridge makes RevenueCat the purchase code behind the BillDog SDK. Purchases and restores started from BillDog (paywall buttons, BillDog.purchase) run through RevenueCat, and BillDog records each one from the store's own evidence (App Store transaction IDs, Play purchase tokens). BillDog's entitlements come from those store records: it never reads or imports RevenueCat's entitlements. BillDog's logIn / logOut log RevenueCat in and out.

    Who finishes purchases. With RevenueCat's default completion mode, RevenueCat finishes (iOS) and acknowledges or consumes (Google Play) each purchase as soon as it is made. Subscriptions and non-consumables are recorded either way. A consumable, though, is gone from the device's store history once finished. The native iOS bridge still reads Apple's signed transaction from RevenueCat's result, and native Android and React Native get Play's purchase token. The React Native and Flutter bridges on iOS have only the transaction ID, so the iOS SDK sends it with the device's signed AppTransaction (iOS 16 and later). BillDog then looks the purchase up with your App Store In-App Purchase key and records it only if it was made by the Apple account that installed the app. On iOS 15 a finished consumable can still be lost, and so can one bought through Flutter on Android (on iOS 18 and later, SKIncludeConsumableInAppPurchaseHistory in Info.plist keeps finished consumables visible).

    If you sell consumables, configure RevenueCat with purchasesAreCompletedBy set to "my app" (.myApp / MY_APP), before configuring the bridge. BillDog then owns finishing: it records each purchase from the store's evidence while it is still unfinished, then finishes it on iOS and acknowledges or consumes it on Google Play. This works on every iOS version and every bridge. An app's own purchase code is never affected: BillDog finishes only purchases its RevenueCat bridge makes.

    On Google Play, BillDog consumes a purchase only when your BillDog catalog says the product is a consumable; a product it doesn't know is acknowledged, never consumed, because consuming a non-consumable can't be undone. So in "my app" mode, add every consumable to your BillDog catalog with the type Consumable. A product BillDog registered from a purchase is shown on the Products page with its type marked as guessed: set it to Consumable if it is one. Until then its purchases are acknowledged, and Google Play won't let the same customer buy it again; BillDog consumes them on a later launch once the type is set.

    It runs entirely inside your app. There is no RevenueCat webhook, RC API key or RC project ID to configure in BillDog.

    Bridge quick start

    React Native / Expo (TypeScript)
    Available

    For react-native-purchases 9.15 or later: 8.x fails on Android (its Play Billing 7 calls an API Play Billing 8 removed), and before 9.15 RevenueCat returns no Play purchase token, so a consumable it has already consumed can't be recorded. BillDogRevenueCat.configure takes your configured Purchases and replaces your own BillDogConfiguration.configure call.

    import Purchases from 'react-native-purchases';
    import { BillDogRevenueCat } from '@billdog.io/react-native';
    
    // 1. Configure RevenueCat (your existing call).
    Purchases.configure({ apiKey: 'appl_...' });
    
    // 2. Instead of BillDogConfiguration.configure: BillDog with RevenueCat as its purchase controller.
    const connection = BillDogRevenueCat.configure(
      { apiKey: 'bd_public_live_xxxxxxxx' },
      Purchases,
    );
    // connection.disconnect() stops reacting to RevenueCat (tests, teardown).

    iOS (SwiftPM)
    Coming soon

    For RevenueCat 5.x. BillDogRevenueCat.configure(config:) replaces your own BillDog.shared.configure call: BillDog takes its purchase controller at configure time, so the bridge is the one that configures it.

    import RevenueCat
    import BillDogFull
    import BillDogRevenueCatIntegration
    
    // 1. Configure RevenueCat (your existing call)
    Purchases.configure(withAPIKey: "appl_...")
    
    // 2. Configure BillDog with RevenueCat as its purchase controller
    let connection = BillDogRevenueCat.configure(
        config: BillDogConfig(apiKey: "bd_public_live_xxxxxxxx"),
        storeKitVersion: .storeKit2,   // .storeKit1 if you configured RevenueCat with StoreKit 1
        restoreOnLaunch: false         // default
    )
    // connection.disconnect() stops listening and gives RevenueCat's delegate slot back.

    Android (Kotlin / Gradle)
    Coming soon

    For RevenueCat Android 9 or later (Play Billing 8). BillDogRevenueCat.configure replaces your own BillDog.configure call.

    import com.revenuecat.purchases.Purchases
    import com.revenuecat.purchases.PurchasesConfiguration
    import io.billdog.integration.revenuecat.BillDogRevenueCat
    
    // 1. Configure RevenueCat (your existing call)
    Purchases.configure(PurchasesConfiguration.Builder(this, "goog_...").build())
    
    // 2. Configure BillDog with RevenueCat as its purchase controller
    val adapter = BillDogRevenueCat.configure(
        context = this,
        apiKey = "bd_public_live_xxxxxxxx",
        activityProvider = { ActivityHolder.current() },  // your own foreground-Activity tracker; RevenueCat needs an Activity to buy
        restoreOnLaunch = false                   // default
    )
    // adapter.detach() stops listening and restores your previous customer-info listener.

    If you have your own RevenueCat delegate (iOS) or updatedCustomerInfoListener (Android), set it before configuring the bridge: the bridge chains it, and one set afterwards replaces the bridge's.

    Store notifications with the bridge

    Apple and Google send renewals, refunds and revocations to server URLs, and with RevenueCat in place those point at RevenueCat. Without them BillDog still checks each subscription with the store shortly before it expires, so renewals are caught, and Google Play refunds arrive from Play's voided-purchases list. A mid-period App Store refund or revocation, though, reaches BillDog only at that check, so access can last until the period ends. Send BillDog the store's notifications too:

    • App Store: App Store Connect takes one Production Server URL and one Sandbox Server URL, so leave them on RevenueCat. In RevenueCat, open your iOS app's settings and enter your BillDog project's App Store Server Notifications URL (Project Settings → Settings → Store Setup) as the Apple Server Notification Forwarding URL. RevenueCat forwards Apple's notifications to it.
    • Google Play: Pub/Sub delivers every message to each subscription of a topic. If the Real-time Developer Notifications topic that Play Console points at is in a Google Cloud project you control, add a second authenticated push subscription to it with BillDog's RTDN push endpoint and audience (Store Setup), as in the Google Play setup guide.

    BillDog verifies each notification before it changes anything (Apple's signature; for Google Play the Pub/Sub push token, then the purchase as Play reports it), so a forwarded copy counts the same as one sent directly.

    Pricing while integrated

    When BillDog runs alongside RC (no migration), you pay only for the BillDog products you use. The Engagement Suite(Analytics + Messaging + Surveys + Journeys) is priced on a generous flat monthly usage envelope — not per active user; SMS delivers through your own carrier account today at no BillDog charge. BillDog Paywalls is priced on MTR (only charged if you've migrated paywalls off RC). RC charges remain unchanged for whatever you keep on RC. See /pricing or get an audited quote at /verify-savings.

    Was this page helpful?

    Or rate this page:

    We use cookies and process your data to provide our services. By continuing, you agree to our Terms and Privacy Policy.