Migrate from Apphud
Move subscription history from Apphud to SubHero: choose a supported export or API path, preserve purchase identifiers and inspect coverage before you switch.
Research checked 2026-10-30 against Apphud's own documentation; no customer account or live credential probe was used.
Available paths
- Daily gzip CSV exports to S3/GCS are on Expert/Enterprise. The first export includes available history; subsequent exports are incremental. Retain the initial export plus every later file. A late download does not make an old export current. Daily exports
- The paid Customers API looks up a supplied
user_id; its documented REST endpoint is not a list-all API. Use known IDs or a complete export. Customers API - The public MCP server offers customer listing and analytics. That capability is separate from the per-customer REST API; this migration does not invent a REST enumeration endpoint. MCP
- Dashboard customer CSV is useful for identity mappings; a customer summary is not per-renewal history. Upload transaction ETL for Google historical charges.
Fields and coverage
ETL maps user_id, store, original_transaction_id, transaction_id, product_id, purchased_at, price, currency, proceeds, store_country. Apphud explicitly defines Android original_transaction_id as the purchase token and transaction_id as the order ID. subscription_length is a duration such as 1M; Google base-plan identity is not documented in this export. Trials, refunds, family-shared rows and sandbox rows must not be synthesized as ordinary paid production renewals. Export fields
No machine-readable authoritative export coverage timestamp or REST snapshot boundary was verified. created_at, updated_at, object modification time and pull completion time do not prove full source coverage. The migration keeps coverage unverified without source-owned evidence.
Comparison and overlap
Compare only matching UTC windows, stores, report currencies and gross/net definitions. Apphud exposes chart APIs; receipts, SDK history and settings can affect its historical values. MRR should use Apphud MRR, proceeds should use proceeds rather than sales, and actives should exclude free trials. Analytics API, analytics definitions
Apphud supports forwarding store notifications; configure an additional forwarding destination while keeping the previous route. An actual verified production notification is still required before onboarding treats forwarding as proven. Never replace the Apple URL during import. Paywalls, experiments and remote configuration are not migrated.
Onboarding coverage decision
The owner confirmed on 2026-10-31 that no Apphud manifest specification is available. Treat exports and API pulls as unverified coverage. History import is supported, but an existing-app run cannot reach Done from this evidence. Do not substitute created_at, updated_at, upload/object time or a request clock for a provider-guaranteed boundary.
Replace SDK calls
These native API names were checked against Apphud’s official guides on 2026-10-31; exact overloads depend on your installed SDK version. Recreate placements and entitlement mappings in SubHero before changing the app.
| Apphud call or flow | SubHero replacement | Migration behavior |
|---|---|---|
Apphud.start(...) | SubHero.configure(...) | Use the SubHero publishable key and API origin; the SDK opens a signed anonymous session. |
start(..., userID: ...) / updateUserID(...) | sdk.identify(identityToken) | Your authenticated backend must mint the JWT. A client-provided user ID is insufficient. |
Apphud.logout() | sdk.logout() | Clears local grants and revokes the session; offline logout keeps a local barrier. |
fetchPlacements / placement(...) / Android placements() | sdk.paywall(placementId) and sdk.products() | Recreate the placement under Products → Paywalls. Store SDKs resolve current localized pricing. |
Apphud.paywallShown(paywall) | sdk.paywallShown(paywall) | Call only when the app actually displays it. |
Apphud.purchase(...) | sdk.purchase(product, …) | Use the platform-specific signature in the quick start and preserve the originating paywall. |
Apphud.restorePurchases() | sdk.restore() | Keep a user-initiated restore action; replays verified proofs without moving another user's chain. |
hasPremiumAccess() / hasActiveSubscription() / subscription() | sdk.entitlements(forceRefresh: …) | Read configured entitlement keys and active state; do not translate a vendor-wide boolean into every grant. |
Apphud’s identity/restore merging is not SubHero’s identity policy: cross-device server access requires an authenticated identity token. Test anonymous-to-identified migration and two-account restore explicitly. Source API references: initialization and identity, placements, purchase and restore, access checks.
Provider rules, visual paywalls, experiments and arbitrary user properties have no automatic SDK migration. Rebuild presentation in the host app and enable custom event names before calling track. See the iOS and Android guides for executable signatures and release status.