Post

Replies

Boosts

Views

Activity

Subscription Server Notification: PRICE_INCREASE_CONSENT
WWDC 2019 session 302 - In-App Purchases and Using Server to Server Notifications introduced a PRICE_INCREASE_CONSENT notification, and accompanying price_increase_effective_date attribute in the notification payload. This notification does not appear to have made it into the docs though, so I'm wondering if this notification was scrapped, or if it is actually available and insufficiently documented. If the latter, I'd like to know where in the body I can expect to find the price_increase_effective_date attribute, and which format that date is in. Thanks for any insight!
0
0
647
May ’20
What build setting causes `PreviewProvider`s to be stripped when archiving?
I'm having trouble creating an archive of my development build for internal testing. When archiving, it encounters errors such as: error: cannot find 'MockDataModel' in scope This type is used within a PreviewProvider, and the file containing this type is included in the "Preview Content" folder, which is listed in the "Development Assets" of the project settings. As expected, the "Preview Content" directory is properly excluded from the archive, but what is not expected is that the PreviewProvider where it is referenced is included while compiling. This post indicates that it is dead code and will be stripped out when archiving. I'm hoping to get a better understanding of which build setting(s) or other mechanism determine when PreviewProviders are excluded from a build. Cheers!
3
3
3.0k
Oct ’21