5.2.0
0.63.3
IOS
When I call getProducts() or getSubscriptions() it should return me a Product objects array with all fields described in docs similar to this
{
productId: 'com.XXX.sdk38.annual',
subscriptionPeriodUnitIOS: 'YEAR',
description: 'Activate Premium features on XXX',
introductoryPrice: '',
title: 'Annual',
introductoryPriceSubscriptionPeriodIOS: '',
introductoryPriceNumberOfPeriodsIOS: '',
discounts:
[ { localizedPrice: '€0,00',
numberOfPeriods: '1',
type: 'SUBSCRIPTION',
identifier: 'com.XXX.sdk38.tryannual',
paymentMode: 'FREETRIAL',
price: '0',
subscriptionPeriod: 'MONTH' } ],
type: 'Do not use this. It returned sub only before',
localizedPrice: '€54,99',
introductoryPricePaymentModeIOS: '',
price: '54.99',
currency: 'EUR',
subscriptionPeriodNumberIOS: '1'
}
When I call getProducts() or getSubscriptions() it returns me a product with only 3 fields (see attached screenshot):
{price: "19.99", currency: "USD", productId: "hiii.premium1a"}Real device. Production scheme with build configuration Debug and Debug executable set to true. But generally, we've noticed the same behavior on prod.
Hi @OlegPanfyorov, can you get items on android using getProducts()? If yes, how you solve it? Thanks :)
I've had the same problem when upgrading from 5.1.1 to 5.1.3. It doesn't affect every device/account, but we saw it happening in production for ~800 users. I could not find a specific pattern, but reverting to 5.1.1 fixed it.
We have also noticed this issue for random users after 5.1.2. I noticed that it seems like it is the properties after the newly added countryCode that gets left out so probably an issue related to this.
https://github.com/dooboolab/react-native-iap/pull/1186/files#
Probably good to revert or fix as soon as possible since it is hard to notice this issue when it only affects random apple users.
Thanks for a good lib otherwise!
Seeing the same issue on a lot of users. Probably related to #1186
Same issue.
Any update? We need to fix it.
+1 any update on this?
Having to downgrade to 5.1.1 until resolved
I'm just having this issue on v5.2.3. Everything was working on multiple devices.
We submitted yesterday, a new app with in-app products but today, on the same devices, we are not retrieving all the fields.
Reverting to 5.1.1 did the trick, thank you @TimPetricola 🙏
Started seeing this for random users too, this is such a shame
@hyochan, Hyo, can we have this landed? how can we get a new release cut?
Have you people tried creating own StoreKit?
https://stackoverflow.com/questions/58020258/requesting-an-in-app-purchase-in-ios-13-fails/58065711#58065711
5.2.6. Let's see how it goes.
Most helpful comment
I've had the same problem when upgrading from 5.1.1 to 5.1.3. It doesn't affect every device/account, but we saw it happening in production for ~800 users. I could not find a specific pattern, but reverting to 5.1.1 fixed it.