Conversation
|
Cursor Agent can help with this pull request. Just |
SW-3485 [docs] clarify that user id needs to be valid UUID for appAccountToken
page(s): https://superwall.com/docs/ios/quickstart/user-management Changes Needed
repo=superwall/docs |
Co-authored-by: duncan <duncan@superwall.com>
d4d89bd to
1b83fd0
Compare
Clarify that the
userIdmust be a valid UUID on iOS forappAccountTokento ensure consistency with Apple's requirements and prevent identifier mismatches in purchase notifications.The
appAccountTokenin App Store Server Notifications will differ from theuserIdpassed toidentifyif theuserIdis not a valid UUID, as StoreKit silently rejects non-UUIDs and the SDK falls back to the anonymous alias UUID. This update explicitly warns users about this behavior and provides guidance.Linear Issue: SW-3485
Note
Clarifies that
userIdmust be a UUID on iOS forappAccountToken, documents fallback to alias UUID if not, and adds guidance and example.content/docs/ios/sdk-reference/identify.mdx:userIdmust be a UUID forappAccountToken; non-UUIDs are rejected and SDK falls back to the alias UUID; recommend v4 UUID.content/shared/user-management/identity-management.mdx):userIdscenario (StoreKit rejection → alias UUID fallback).identify.Written by Cursor Bugbot for commit d4d89bd. This will update automatically on new commits. Configure here.