Instance Method

purchases(_:receivedUpdated:)

Called whenever Purchases receives updated customer info. This may happen periodically throughout the life of the app if new information becomes available (e.g. UIApplicationDidBecomeActive).*

Declaration

@objc(purchases:receivedUpdatedCustomerInfo:) optional func purchases(_ purchases: Purchases, receivedUpdated customerInfo: CustomerInfo)

Parameters

purchases

Related Purchases object

customerInfo

Updated CustomerInfo