Launch offer for the first 500 accounts: $10K MTR free for 24 months + $100 credit →
    .io
    Migration
    Any platform
    Intermediate
    42 min

    Move from RevenueCat to BillDog

    To move from RevenueCat to BillDog, connect your App Store and Google Play credentials, recreate your products and entitlements with the same store product IDs, and upload your RevenueCat export under Import → RevenueCat. BillDog verifies each store subscriber with Apple or Google. Then swap the SDK calls, log users in with the same app user IDs, and point server notifications at BillDog.

    Steps last checked against the SDK source on 15 Nov 2026.

    What you'll build

    • Existing App Store and Google Play subscribers imported and verified with the stores
    • Your RevenueCat calls mapped to BillDog on iOS, Android, React Native and Flutter
    • A cutover checklist for notifications, user IDs and old app versions

    What you'll need

    • A BillDog project (sign up) and your app's current RevenueCat integration
    • Admin access to App Store Connect and Google Play Console, to create store credentials
    • Your RevenueCat Transactions export: in RevenueCat, set up Scheduled Data Exports from your project's integrations with the Transactions feed on and the format set to CSV. RevenueCat delivers transactions_<timestamp>.csv.gz daily to your Amazon S3, Google Cloud Storage or Azure bucket, or emails download links. RevenueCat has no customers or subscriptions export

    1. Choose a full move or BillDog paywalls on top

    3 min

    Subscriptions belong to Apple and Google, not to either SDK, so nobody has to buy again. What you move is the record of who has access. There are two ways to do it:

    • Full move (this codelab): BillDog makes the purchases, records them from the store and decides access. You import existing subscribers and replace the RevenueCat SDK.
    • Keep RevenueCat for purchases: BillDog shows paywalls, runs experiments and analytics, and calls your own purchase code when the user taps buy. In React Native you pass a PurchaseController to BillDogConfiguration.configure; on the web, a purchaseAdapter. The paywalls alongside RevenueCat tutorial has the code.

    In React Native, a ready-made bridge ships in @billdog.io/react-native: call BillDogRevenueCat.configure({ apiKey: 'bd_public_…' }, Purchases) instead of BillDogConfiguration.configure, and RevenueCat keeps making purchases while BillDog records them. The iOS and Android bridges aren't published yet.

    2. Connect App Store Connect and Google Play

    6 min

    BillDog imports App Store and Google Play subscribers by asking Apple and Google about each one, so connect your store credentials first. Rows you import before they verify are kept, and applied once they do.

    1. Open Project Settings → Settings and choose the Store Setup tab.
    2. On the Apple App Store card, fill in Issuer ID, Bundle ID, Apple ID (App Information) and, if you have an App Store Connect API key, Key ID and Private Key (.p8 contents). Click Save & Verify. Then add the In-App Purchase Key ID and its private key and click Save In-App Purchase key.
    3. On the Google Play card, enter the Package Name, paste the Service Account JSON and click Save & Verify.
    4. Wait for both cards to verify. The App Store card then shows your project's App Store Server Notifications URL (Version 2). You need it at cutover.

    The App Store setup and Play Store setup codelabs walk through creating each key.

    3. Recreate products, entitlements and offerings

    8 min

    Use the same store product IDs you sell today. They are Apple's and Google's IDs, so they don't change when you switch SDKs.

    1. Open Monetization → Products and add each product with its App Store Product ID and Play Store Product ID. With the App Store Connect API key saved, you can also sync them into Monetization → Synced Products.
    2. Open Monetization → Entitlements, create the entitlements your app checks (for example premium) and select the products that unlock each one. Imported App Store and Play subscribers get the entitlements their product is attached to here.
    3. Open Monetization → Offerings and recreate your offerings. Tick Mark as current offering on the one your app loads by default. The importer doesn't import offerings.
    4. Open Monetization → Placements and create a placement for each spot that shows a paywall. Turn on Requires access where only non-subscribers should see it.

    The importer creates any product named in the export that doesn't exist yet, but it doesn't attach products to entitlements. Check every product is attached before you trust the import. If you attach one later, BillDog recomputes the grants for purchases of that product.

    4. Import your RevenueCat subscribers

    6 min
    1. Open Integration & Data → Import and click Select on the RevenueCat card.
    2. Step 1: select the target project.
    3. Step 2: upload the latest transactions_<timestamp>.csv.gz as is in the Transactions slot. The customers and subscriptions slots are optional: leave them empty, since RevenueCat doesn't export either. There is no API-key connection: the importer reads only the files you upload.
    4. Step 3: review the files and click Start Import.
    5. Step 4: watch the progress, then open View Import History.
    • Customers are created or matched by their RevenueCat app user ID (rc_original_app_user_id in the export).
    • App Store and Google Play rows are imported live: BillDog looks each subscription up with Apple or Google, so the expiry date and renewal state come from the store, and renewals keep updating afterwards.
    • Web and other non-store rows (Stripe and promotional, for example) get a subscription and entitlements worked out from the transactions: one subscription per original transaction, active until the latest effective_end_time, lifetime purchases for life, and refunded purchases withdrawn. The entitlements are the ones listed in entitlement_identifiers, plus any your BillDog product is attached to.
    • To grant a RevenueCat entitlement under a different BillDog name, add it under Integration & Data → Integrations → RevenueCat (in Data sources) before importing. Unmapped entitlements keep their RevenueCat identifiers.
    • Amazon and Roku rows are skipped and reported as IMPORT_UNAVAILABLE_LEDGER_V2.
    • Historic purchases don't fire webhooks, journeys or virtual currency grants.
    • Re-uploading an identical file is refused, but a newer export that repeats rows imports only what's new, so re-run it close to launch to catch new subscribers.

    If your own server already holds the store IDs, it can import subscribers directly instead. Post up to 500 per request with your secret key (bd_secret_). Public keys are refused. Each App Store subscriber needs an original_transaction_id, and each Play subscriber a purchase_token or order_id.

    Terminal
    curl -X POST https://api.billdog.io/v1/import-store-subscribers \
      -H "X-BillDog-API-Key: bd_secret_YOUR_KEY" \
      -H "Content-Type: application/json" \
      -d '{
        "subscribers": [
          { "app_user_id": "user-123", "store": "app_store", "original_transaction_id": "2000000123456789" },
          { "app_user_id": "user-456", "store": "play_store", "purchase_token": "PLAY_PURCHASE_TOKEN", "product_id": "pro_monthly" }
        ]
      }'

    Each subscriber comes back as imported, already_imported, pending (verification continues in the background) or skipped. A purchase that already has an owner in BillDog is never moved.

    5. Swap the SDK calls

    10 min

    Install the BillDog SDK as in the iOS, Android, Flutter or React Native codelab, then replace the calls one for one:

    • iOS: Purchases.configure(withAPIKey:) → BillDog.shared.configure(config: BillDogConfig(apiKey:)). logIn → try await BillDog.shared.logIn(id). offerings() → try await BillDog.shared.getOfferings() (an array; the current one has isCurrent). purchase(package:) → try await BillDog.shared.purchase(package:). customerInfo() → try await BillDog.shared.getCustomerInfo(). restorePurchases() → try await BillDog.shared.restorePurchases(). logOut() → BillDog.shared.logOut() (not async).
    • Android: Purchases.configure(...) → BillDog.configure(context, apiKey). logIn → BillDog.logIn(id). getOfferings → BillDog.getOfferings(). purchase → BillDog.purchase(activity, pkg). getCustomerInfo → BillDog.getCustomerInfo(). restorePurchases → BillDog.restorePurchases(). All are suspend functions; getOfferings, getCustomerInfo and logIn return a Kotlin Result. logOut → BillDog.logOut().
    • React Native / Expo: Purchases.configure({ apiKey }) → BillDogConfiguration.configure({ apiKey }). logIn / logOut → BillDog.logIn(id) / BillDog.logOut(). (await getOfferings()).current → await BillDog.getCurrentOffering(). purchasePackage(pkg) → BillDog.purchasePackage(pkg). getCustomerInfo() → BillDog.getCustomerInfo(). restorePurchases() → BillDog.restore().
    • Flutter: Purchases.configure(...) → await BillDog.configure(apiKey), then BillDog.shared for every call. logIn, logOut, purchasePackage, getCustomerInfo and restorePurchases keep their names. getOfferings() returns an OfferingResult; OfferingAvailable holds the offering.
    • Paywalls: RevenueCatUI.presentPaywallIfNeeded → register with a placement that has Requires access on. It skips users who already have access.
    iOS (Swift)
    import BillDogFull
    
    enum Subscriptions {
        // At launch, in place of Purchases.configure
        static func start() {
            BillDog.shared.configure(config: BillDogConfig(apiKey: "bd_public_live_YOUR_KEY"))
        }
    
        static func signIn(_ userId: String) async throws {
            _ = try await BillDog.shared.logIn(userId)
        }
    
        static func buyCurrentOffering() async throws -> Bool {
            let offerings = try await BillDog.shared.getOfferings()
            guard let package = offerings.first(where: { $0.isCurrent })?.packages.first else { return false }
            let result = try await BillDog.shared.purchase(package: package) // .purchased, .restored, .cancelled, .pending, .failed
            return result.isSuccess
        }
    
        static func isPremium() async throws -> Bool {
            try await BillDog.shared.getCustomerInfo().hasEntitlement("premium")
        }
    
        static func signOut() {
            BillDog.shared.logOut()
        }
    }
    Android (Kotlin)
    import android.util.Log
    import androidx.activity.ComponentActivity
    import androidx.lifecycle.lifecycleScope
    import io.billdog.core.BillDog
    import kotlinx.coroutines.launch
    
    class PaywallActivity : ComponentActivity() {
        private fun buyCurrentOffering(userId: String) {
            lifecycleScope.launch {
                BillDog.logIn(userId)
                val offering = BillDog.getOfferings().getOrNull()?.firstOrNull { it.isCurrent } ?: return@launch
                val pkg = offering.packages.firstOrNull() ?: return@launch
                val result = BillDog.purchase(this@PaywallActivity, pkg)
                if (result.isSuccess) {
                    BillDog.getCustomerInfo(forceRefresh = true)
                        .onSuccess { info -> Log.d("BillDog", "premium=${info.hasEntitlement("premium")}") }
                }
            }
        }
    }
    React Native / Expo
    import { BillDog } from '@billdog.io/react-native'; // or '@billdog.io/expo'
    
    async function buyCurrentOffering(userId: string) {
      await BillDog.logIn(userId); // resolves nothing: read the customer with getCustomerInfo
      const offering = await BillDog.getCurrentOffering();
      const pkg = offering?.packages[0];
      if (!pkg) return;
      const result = await BillDog.purchasePackage(pkg); // never throws
      if (result.type === 'purchased') {
        const info = await BillDog.getCustomerInfo();
        console.log('premium', !!info?.entitlements.some((e) => e.identifier === 'premium' && e.isActive));
      }
    }

    The BillDog CLI can draft these edits as a patch you review and apply. Start with billdog migrate --from revenuecat --dry-run, which only reports the call sites it found. See the CLI guide.

    6. Make sure existing subscribers keep access

    4 min
    • Same user IDs: call logIn with exactly the app user IDs you used with RevenueCat, straight after configure. The import attached each subscriber to that ID.
    • Purchases on the device: when the SDK starts, the iOS and Android SDKs read the store purchases already on the device and record them, without showing a sign-in prompt. A subscriber who opens the new version is picked up even if the import missed them.
    • Anonymous users: the iOS and Android SDKs treat an ID that starts with $RCAnonymousID: as anonymous (isAnonymous). Test what an anonymous subscriber sees on a device before launch.
    • Receipt collisions: Project Settings → Settings → Store Setup → Receipt collisions decides what happens when a different customer posts a purchase someone already owns: Transfer it, or Refuse with 409 PURCHASE_OWNER_CONFLICT.
    • Restore Purchases: keep a restore button, wired to the BillDog restore call above. It is the user's own way back if anything goes wrong.
    Next: Cut over

    7. Cut over

    5 min
    1. App Store notifications: App Store Connect has one Production Server URL and one Sandbox Server URL. On cutover day, paste your BillDog URL from Store Setup into both and choose Version 2. That stops RevenueCat receiving App Store notifications, so app versions still on RevenueCat rely on its own receipt checks until users update. Until cutover, BillDog also checks imported subscriptions with the stores.
    2. Google Play notifications: if the Real-time Developer Notifications topic is in your own Google Cloud project, add a second push subscription to BillDog's RTDN endpoint (shown on the Google Play card in Store Setup), with authentication turned on and Audience left blank. Every subscription on a topic receives every message, so both systems hear about renewals during the overlap.
    3. Re-run the import with a fresh export just before release.
    4. Ship with the live key (bd_public_live_), not the test key.
    5. Spot-check: pick five active subscribers and search for each one by user ID in Audience → Customers. Each should have the right entitlement.
    6. Keep the old setup running until most active users are on the new app version. Users on old versions still use the old SDK until they update.

    If a paywall doesn't show after the switch, work through Fix a paywall that doesn't show.

    Frequently asked questions

    No. Their subscriptions live with Apple and Google. BillDog learns about them from the import, which verifies each one with the store, and from the purchases the new SDK finds on the device.

    For App Store and Google Play subscribers, no. BillDog verifies the purchase with the store and grants the entitlements that product is attached to in your BillDog dashboard. Web and other non-store purchases (Stripe, promotional) are taken from the export: they get the entitlements listed in `entitlement_identifiers`, renamed by your RevenueCat entitlement mapping if you set one, plus the ones their BillDog product is attached to.

    Yes. In React Native, pass your own PurchaseController to BillDogConfiguration.configure so purchases still run through RevenueCat. On the web, pass a purchaseAdapter. In React Native you can also use the ready-made BillDogRevenueCat bridge in @billdog.io/react-native; iOS and Android bridges aren't published yet.

    No. The importer only reads the export files you upload under Import, RevenueCat. You can re-run it with newer exports, and a newer export imports only what's new; re-uploading an identical file is refused.

    Reference

    Ship it on a free project

    Create a project, grab your SDK key and follow along. Sandbox purchases and data stay separate from production, so test transactions never mix with real revenue.

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