mirror of
https://github.com/RevenueCat/purchases-ios
synced 2026-11-09 22:35:56 +05:45
* feat(ads): cache customer info from verified reward polls instead of refetching * fix(ads): cache reward poll customer info under the user it was polled for * refactor(ads): require customerInfo on Outcome.Verified * refactor(ads): require customerInfo on RewardVerificationPollStatus.Verified * refactor(ads): require customerInfo on RewardVerificationStatusResponse.init * docs(ads): describe pollRewardVerification as updating state from the response * fix(ads): poll reward verification for the user captured before polling * fix(ads): reword malformed customer info log now that the poll no longer refetches * fix(ads): treat a null subscriber in the reward poll as no customer info * refactor(ads): pass appUserID through the poll run instead of storing it in the poller * refactor(ads): drop async from rewardVerificationResult * test(ads): assert the null subscriber guard skips the malformed customer info warning * test(ads): assert the polled appUserID stays fixed across attempts * docs(ads): fix the fetchRewardVerificationStatus reference in the poller doc comment