-
-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getProducts() returns only Product fields: price, currency, productId #1203
Comments
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 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. |
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? |
#1246 has been released to |
Version of react-native-iap
5.2.0
Version of react-native
0.63.3
Platforms you faced the error (IOS or Android or both?)
IOS
Expected behavior
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' }
Actual behavior
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"}
Tested environment (Emulator? Real Device?)
Real device. Production scheme with build configuration Debug and Debug executable set to true. But generally, we've noticed the same behavior on prod.
Steps to reproduce the behavior
The text was updated successfully, but these errors were encountered: