You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StoreKit is unable to report failures and may occasionally return
empty products instead. This is a mitigation attempt to avoid
"Purchase required" for legit paying users.
// mitigate the StoreKit inability to report errors, sometimes it
147
+
// would just return empty products, e.g. on network failure. in those
148
+
// cases, retry a few times before failing
149
+
if attempts >0{
150
+
attempts -=1
151
+
pp_log(.app,.error,"Verification failed for profile \(profile.id), next attempt in \(params.retryInterval) seconds... (remaining: \(attempts), products: \(context.iapManager.purchasedProducts))")
0 commit comments