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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's new in v4.8.0
A subscription bought again after it expired or was refunded is now sent to Apphud, so premium access comes at once. Before, the SDK finished the new transaction without sending it while a cached subscription had the same original transaction id, and access waited for the App Store server notification. On-time renewals are still not sent.
Expired permission groups are now refreshed after registration. Before, permissionGroups() kept returning the first cached list after the groups changed in the dashboard. The cached list still loads at once, permissionGroups() returns it until the refresh finishes, and a failed refresh is retried at the next launch. The cache lifetime is the one set by setPaywallsCacheTimeout(_:). With identity version 1, an expired cache also requests the products at launch.