Post

Replies

Boosts

Views

Activity

StoreKit SKProductsRequest returns the wrong region on iOS 14.2
This strange issue happens after upgrading my iOS to 14.2. On iOS 13, it works normally. We just use regular SKProductRequest to query in-app product then use the price locale to determine the region: 		storeKitProductsRequest = SKProductsRequest(productIdentifiers: productIdentifiers) and then we get the region like so: 		let task = FetchStoreKitProductsTask(productIdentifier: productIdentifier) { result in 				completion(Result(optionalValue: result.value?.priceLocale.regionCode, errorForNilValue: Error.missingPriceLocaleRegionCode)) 		} Not sure if it's also happening on iOS 14 and 14.1 as well. I'm aware there are several updates on the StoreKit as Apple announced on the WWDC2020. link1 - https://developer.apple.com/videos/play/wwdc2020/10661/ link2 - https://developer.apple.com/videos/play/wwdc2020/10659/ Could it be an iOS bug?
0
0
586
Nov ’20