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

Invariant Violation: No callback found with cbID - RNIapIos.getItems - most likely the callback was already invoked. #2905

Open
karltaylor opened this issue Dec 31, 2024 · 0 comments

Comments

@karltaylor
Copy link

karltaylor commented Dec 31, 2024

Description

  • Calling getProducts initially works fine and returns results.
  • Leaving screen and returning when getProducts is called for a second time, this error occurs.

Expected Behavior

  • You should be able to call getProducts more than once.

Screenshots

Environment:

  • react-native-iap: 12.14.2-rc.1
  • react-native: 0.74.2
  • Platforms (iOS, Android, emulator, simulator, device): iOS Device.

To Reproduce
Steps to reproduce the behaviour :

  1. Call getProducts
  2. Call `getProducts again
  3. Error Invariant Violation: No callback found with cbID 1443 and callID 721 for RNIapIos.getItems - most likely the callback was already invoked. is shown.

This is mentioned in the following places:

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

1 participant