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

Expo plugin not adding custom MainActivity code like docs state for Amazon variant #2861

Open
christianEconify opened this issue Oct 15, 2024 · 0 comments
Labels
ⓐ amazon 🤖 android Related to android

Comments

@christianEconify
Copy link

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

Description

Expo plugin is not modifying the MainActivity.kt file as the docs state when setting the paymentProvider to both or Amazon AppStore.

Expected Behavior
The expo plugin should be modifying the MainActivity.kt as the docs state.

Environment:

  • react-native-iap: 12.15.4
  • react-native: [email protected]
  • Platforms (iOS, Android, emulator, simulator, device): firetv

To Reproduce
Steps to reproduce the behavior:

Run expo plugin with flavour set to both, or Amazon Appstore

See no code added to MainActivity

Run app and attempt to restore purchase

see error along the lines of
You must register a PurchasingListener before invoking this operation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ⓐ amazon 🤖 android Related to android
Projects
None yet
Development

No branches or pull requests

2 participants