You know when app devs are lazy and just put "bug fixes and performance improvements" in their release notes? Well this release contains bug fixes and performance improvements... for real though!
Fixes
- Fixed memory and performance issues associated with the shimmer view when loading a paywall. Special thanks to Mattias from Planta for spotting that one and Jakub from Hornet for helping us solve performance issues. We've rebuilt the shimmer view and only add it when the paywall is visible and loading. This means it doesn't get added to paywalls preloading in the background. After loading, we remove the shimmer view from memory.
- Moves internal operations for templating paywall variables from the main thread to a background thread. This prevents hangs on the main thread.
- Stops
UIAlertViewControllers
being unnecessarily created when loading a paywall. - Removes the dependency on
TPInAppReceipt
from our podspec and replaces it with aASN1Swift
dependency to keep it in line with our Swift Package file. Thanks to Semyon from Appex for spotting that!