Repository navigation
v1.1.1
Added
- Attribution for apps that pass their own stable
appAccountToken(an account ID) on every purchase, with HiwiKInsightKit 0.3.0'sbeginPurchase(product:context:appAccountToken:).purchase_attemptsnow keeps every attempt of a token (surrogate keyid, deduplicated by token, install and time), and the new viewv_attributionmaps each notification to one attempt: the latest attempt with the same token in the same app started no later than 5 minutes after the purchase (for renewals, refunds and expiry: after the purchase that started them). Thefunnelandrevenuemetrics, reports, transaction emails,is_paidandis_proall resolve through it. Tokens generated per purchase resolve exactly as before. appstore_eventsstoresapp,original_transaction_id,transaction_reason,purchase_atandoriginal_purchase_atfor new notifications.- Database migration v11 rebuilds
purchase_attempts(existing rows kept) and recreatesv_user_summary.
Upgrade: replace the binary or image and restart. Migration v11 rebuilds purchase_attempts (rows kept) and adds columns to appstore_events; take a database backup first. v1.1.0 can still run on a v11 database if you need to roll back. Apps that pass their own appAccountToken should use HiwiKInsightKit 0.3.0.
Full changelog: v1.1.0...v1.1.1