Post

Replies

Boosts

Views

Activity

App Store Promotions - In-App Purchase Warning in App Store Connect
My app uses the new API for in-app purchase rather than the original API as listed here: https://developer.apple.com/documentation/storekit/choosing_a_storekit_api_for_in-app_purchase But in App Store connect I'm getting this error/warning: These in-app purchases can’t be promoted on the App Store because your latest approved binary doesn’t include the SKPaymentTransactionObserver method. SKPaymentTransactionObserver is a part of the old API and I believe I shouldn't need to implement it anymore. Anyone know what I should do here?
1
0
1.3k
Oct ’21
SwiftUI .backgroundTask requires registering and providing a handler
Hi I tried adding the new .backgroundTask modifier to my project but it still requires calling func register(forTaskWithIdentifier identifier: String, using queue: DispatchQueue?, launchHandler: @escaping (BGTask) -> Void) -> Bool without it I get the error No launch handler registered for task with identifier... but providing a launchHandler doesn't make any sense as it's handled in the .backgroundTask closure. Am I missing something here? also can it be used for BGProcessingTasks as well, the WWDC session didn't mention that Radar/Feedback Number: FB10249217
0
0
931
Jun ’22