Questions tagged [react-native-iap]

65 questions
1
vote
1 answer

react-native-iap showing empty popup when adding new payment method

I have a problem, can anyone help? I'm using react-native-iap for my app. iOS is working well but for android, on beta and store versions, the UI is strange. When there is no payment method yet, if the user chooses a payment method, an empty popup…
eric long
  • 640
  • 5
  • 16
1
vote
0 answers

delete Auto-Renewable subscription when user delete account

I'm coding a mobile app (React Native) and using library react-native-iap to handle In-App Purchase logic for IOS device. My question is: How to stop renew and delete current subscription when user delete their account? I'm using Sandbox Tester on…
Rino
  • 53
  • 7
1
vote
0 answers

React native iap can't fetch products (subscriptions) from Apple account

Stuck with implementing react native iap. connection success. But subscription plans goes error. Installed package npm i react-native-iap Sourcecode import * as RNIap from 'react-native-iap' Connection seems successful: RNIap.initConnection()…
1
vote
0 answers

bundleRelease error on jitsi-meet project with 'react-native-iap'

Our project cloned from jitsi-meet . I'm trying to install for Android react-native-iap package manually using this guide . For jitsi-meet repository there are some different places where lines have to be inserted. When I installed manually…
1
vote
0 answers

react-native-iap just hangs on ios trying to get subscriptions on ios

The following component functions nominally under Android. We thought we were cool. But, the same code on iOS hangs when it tries to get subscriptions. The request doesn't succeed, doesn't fail, doesn't crash. The JS promise is seemingly never…
Charney Kaye
  • 3,667
  • 6
  • 41
  • 54
1
vote
0 answers

Purchase multiple products with react-native-iap

I have used react-native-iap to implement in-app purchases in my ios app. The purchases are working fine but I have a cart feature in my app. I want to be able to purchase multiple products at the same time. Is this possible? Is there any…
1
vote
0 answers

React Native IAP: getPurchaseHistory() throws error if sandbox account isn't previously signed in

This is for iOS. I'm using in-app purchases in my React Native app, and I use the following code: IAP.initConnection() .catch((e) => { throwError(`Error connecting to the in-app purchase store: ${e}`)}) .then(async…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
1
vote
0 answers

React Native in-app-purchases: how to test in TestFlight?

I've added in-app-purchases to my React Native app, and I've been testing them locally using sandbox tester accounts. When I go to Settings -> App Store -> SANDBOX ACCOUNT on my iPhone, it says This account will be only used for testing your in-app…
gkeenley
  • 6,088
  • 8
  • 54
  • 129
1
vote
1 answer

When React native RNIap.purchaseErrorListener is called?

I have integrated react-native-iap for in app purchase. Android Payment flow works properly(payment success, payment failed and user cancel payment). But facing issue when purchase card is shown and I click outside the card, card is dismissed but…
1
vote
1 answer

React Native iOS In-App Purchase does not work in Released version

I've just released (~12 hour ago) an app in the app store that I have added an in app purchase for. I fully tested it in the sandbox (TestFlight) environment and all worked fine. But me and other users facing an error like; They are able to see the…
1
vote
1 answer

react-native-iap Native module cannot be null

I just ejected from expo because i wanted to use react-native-iap. I installed that module and then cd ios > pod install but after doing that i'm getting an error says "Native module cannot be null" I'm sure that the error because of this module…
user14740177
1
vote
1 answer

How to use iOS subscription promo codes with react-native-iap?

I've made Apple in-app-subscriptions. And it works successfully. And then I try to work with promotional codes, but it doesn't work. If I understood correctly, I have to use this method: import * as RNIap from…
1
vote
0 answers

React native IAP (Android) Validation receive Problem

I added react-native-iap library( https://github.com/dooboolab/react-native-iap ) for using subscriptions. Work well on IOS but I have some issues on Android. On Android side perfectly working subscription person. I need to check expired date for…
Hasan Rıza Uzuner
  • 445
  • 1
  • 7
  • 21
1
vote
0 answers

How to redirect or load a view depending upon condition in react-native-iap purchase

What I want to achieve is to redirect or show a view upon successful purchase. Purchase is successful but the state variable is not updating inside validateReceiptIos handler. I checked the validation of the receipt but after that not even able to…
1
vote
4 answers

How to add in app purchase to react native app?

So paid pages in my app, when a user click to open any of these pages i want to run a function to check if the product is purchased and if it's not then buy the product, I have found two packages which are react-native-iap and expo-in-app-purchase…