Skip to content

4.0.4

Latest

Choose a tag to compare

@x401om x401om released this 14 Aug 16:47

⚠️ Changed

  • [Android] restorePurchases() no longer throws when there is nothing to restore. It now completes successfully with the current AdaptyProfile — check the access level in the returned profile instead of catching an error. If your code treats a failed restore as "nothing to restore", that branch will no longer be reached on Android.

🩹 Fixed

  • Text elements in paywalls and flows lost their color and background when the builder sent them under the text_color and text_background keys. The old color and background keys are still read, so views built before the change keep rendering as they did. Affected both platforms.

⚠️ Deprecated

  • AdaptyErrorCode.noPurchasesToRestore — no longer returned on Android. Check the access level status in the profile returned by restorePurchases().

Native dependencies in this release: iOS 4.0.3, Android 4.0.2.

❗️ Don't forget to update your local fallback file if needed.

Full Changelog: 4.0.3...4.0.4