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:
and then we get the region like so:
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 link2
Could it be an iOS bug?
Code Block swift storeKitProductsRequest = SKProductsRequest(productIdentifiers: productIdentifiers)
and then we get the region like so:
Code Block swift 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 link2
Could it be an iOS bug?