Skip to main content

iOS App Account Token support?

  • May 12, 2022 5:13 PM UTC
  • 10 replies
  • 1022 views

Forum|alt.badge.img+6

I see that RC’s StoreKit 2 beta is hopefully (!) coming soon. Will this support the appAccountToken on the StoreKit transaction?

This post has been closed for comments

10 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • May 20, 2022 8:49 PM UTC

Hey @Phil Mitchell!

I don’t believe we’re launching support for the `appAccountToken` with our StoreKit 2 release - that being said, I’ll leave this thread open in case others want to drop a +1 for support in the comments!


Forum|alt.badge.img+3
  • New Member
  • Aug 17, 2022 4:57 PM UTC

@cody If the appAccountToken isn’t available, how does one associate the webhook transaction with a specific user in our database?  For example, how do we disable functionality if a user fails to renew a subscription?


Forum|alt.badge.img+3
  • Helper
  • Apr 26, 2023 6:19 PM UTC

+1 for this functionality. When receiving forwarded server notifications, the appAccountToken is used as a secure way to link the transaction to a specific user. 


Forum|alt.badge.img+2

Any update on this?


Forum|alt.badge.img
  • New Member
  • Mar 1, 2024 12:07 PM UTC

Any update on this? we also stuck on the same.


Forum|alt.badge.img
  • New Member
  • Jan 6, 2025 12:21 PM UTC

Hello,
Any update ? I really need it. Thanks !


Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • Jan 6, 2025 12:27 PM UTC

This is already supported in the newest versions of the SDK (starting with version 5.0.0 of the iOS SDK). If you set the RevenueCat App User ID to a UUID, then it will automatically be set as the `appAccountToken` as well. 


Forum|alt.badge.img
  • New Member
  • Jan 6, 2025 1:36 PM UTC

This is already supported in the newest versions of the SDK (starting with version 5.0.0 of the iOS SDK). If you set the RevenueCat App User ID to a UUID, then it will automatically be set as the `appAccountToken` as well. 

Is that the case for the purchases-capacitor package ?


Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • Jan 6, 2025 2:00 PM UTC

Yes, for versions from 9.0.0 onwards (which depends on version 5.0.0 of the iOS SDK)


Forum|alt.badge.img
  • New Member
  • Jan 6, 2025 3:57 PM UTC

Thank you very much!
For future readers, avoid using the firebase uid for these fields. It's not a valid uuid and will simply be ignored.