KptnTanyel
KptnTanyel
@KaiOelfke [This](https://christianselig.com/2024/10/beware-userdefaults/) blog post goes into detail about the same issue, that UserDefaults became unreliable. Especially in the context of Live Activities. There's also a [proposed solution](https://christianselig.com/2024/10/introducing-tiny-storage/) to this dilemma...
On the similar note, with iOS 16 Apple introduced an offer code redemption sheet with a completion block. https://developer.apple.com/documentation/swiftui/view/offercoderedemption(ispresented:oncompletion:) The currently implemented one (https://developer.apple.com/documentation/storekit/skpaymentqueue/3566726-presentcoderedemptionsheet) has been deprecated.