MMPAcquisitionData

object MMPAcquisitionData : Storable<Map<String, JsonElement>> (source)

The decoded MMP acquisition_* payload from the last successful install match, cached so it can be re-applied to a new user's attributes after com.superwall.sdk.Superwall.reset.

Install-scoped: the install source doesn't change when one user logs out and another logs in on the same device. The backend match only runs within the 7-day install window, so re-matching after a reset can't be relied on — caching the resolved payload lets us repopulate the new user deterministically, without re-hitting the backend.

Properties

Link copied to clipboard
open override val directory: SearchPathDirectory
Link copied to clipboard
open override val key: String
Link copied to clipboard
open override val serializer: KSerializer<Map<String, JsonElement>>

Functions

Link copied to clipboard
open fun file(context: Context): File