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
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
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?
Topic:
App Store Distribution & Marketing
SubTopic:
App Store Connect
Tags:
App Store Connect
StoreKit
wwdc21-10114