Skip to main content

iOS App Account Token support?


Forum|alt.badge.img+4

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

10 replies

cody
RevenueCat Staff
Forum|alt.badge.img+8
  • RevenueCat Staff
  • 492 replies
  • May 20, 2022

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
  • 3 replies
  • August 17, 2022

@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
  • 22 replies
  • April 26, 2023

+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?


  • New Member
  • 1 reply
  • March 1, 2024

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


  • New Member
  • 3 replies
  • January 6, 2025

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


Jens
RevenueCat Staff
Forum|alt.badge.img+7
  • RevenueCat Staff
  • 180 replies
  • January 6, 2025

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. 


  • New Member
  • 3 replies
  • January 6, 2025
Jens wrote:

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
  • 180 replies
  • January 6, 2025

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


  • New Member
  • 3 replies
  • January 6, 2025

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.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings