Skip to content

1.2.4

Latest

Choose a tag to compare

@github-actions github-actions released this 22 Aug 15:37
· 5 commits to main since this release

Added

  • Existing users are no longer counted as new. An app that adds AppGlance years after launch
    has a user base the SDK has never seen, and every one of those installs used to read as a brand
    new user on the day that build shipped: one enormous spike, with the real arrivals buried in it.
    The SDK now reports when the app first arrived, so the dashboard can tell the two apart.

    On Apple platforms the answer is already in hand and costs nothing: the signed AppTransaction
    the SDK fetches to label the environment also carries originalPurchaseDate, the date this
    Apple ID first got the app. No new API, no permission, no privacy-manifest entry, nothing added
    to your App Store answers - it is a date about the app, not about the person, and it is sent
    once per install. TestFlight builds send no store date: the sandbox answers every account with
    the same placeholder, which is not evidence of anything.

    Nothing to do to get it. Upgrading is enough: an install that has never sent one backfills on
    its next session.start, so an app already running an older AppGlance corrects its whole base
    as people open it.

  • Configuration.firstInstalledAt, for when your app knows better than the App Store does. The
    store's date is per Apple ID, so it cannot see a user who had an account with you before they
    had this device. If you keep your own signup or first-launch date, pass it and it wins:

    var config = AppGlance.Configuration(apiKey: "glance_live_…")
    config.firstInstalledAt = myAccount.createdAt
    AppGlance.configure(config)

    A date in the future, or one from before 2001, is ignored.