⚠️ Changed
- [Android]
restorePurchases()no longer throws when there is nothing to restore. It now completes successfully with the currentAdaptyProfile— 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_colorandtext_backgroundkeys. The oldcolorandbackgroundkeys 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 byrestorePurchases().
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