Instance Method

syncPurchases()

This method will post all purchases associated with the current App Store account to RevenueCat and become associated with the current appUserID.

Declaration

func syncPurchases() async throws -> CustomerInfo

Discussion

If the receipt is being used by an existing user, the current appUserID will be aliased together with the appUserID of the existing user. Going forward, either appUserID will be able to reference the same user.

See Also

Managing Subscriptions