Skip to content
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

getSubscriptions - Cannot read property 'ios' of undefined #2461

Open
StanislavMotorny opened this issue Jun 21, 2023 · 3 comments
Open

getSubscriptions - Cannot read property 'ios' of undefined #2461

StanislavMotorny opened this issue Jun 21, 2023 · 3 comments

Comments

@StanislavMotorny
Copy link

Please use the Discussion board if you want to get some help. Please use issues to report bugs.

Description
We get "Cannot read property 'ios' of undefined" on getSubscriptions() call when using StoreKit2 mode (on StoreKit1 it works without errors)

Expected Behavior
Get an array of subs

Environment:

  • react-native-iap: 12.10.5
  • react-native: 0.69.7
  • Platforms (iOS, Android, emulator, simulator, device): iOS (device and emulator)

To Reproduce
Steps to reproduce the behavior:

  1. Call getSubscriptions() method

Has anyone faced this issue before?

@milik27
Copy link

milik27 commented Jun 29, 2023

Same problem, is there a solution?

@asleepace
Copy link

Same problem here as well.

@isnolan
Copy link
Contributor

isnolan commented Nov 12, 2023

Is there a solution?

hyochan pushed a commit that referenced this issue Dec 8, 2023
arthurgeron pushed a commit to arthurgeron/react-native-iap that referenced this issue Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants