react-native-iap | react-native native module for In App Purchase | iOS library
kandi X-RAY | react-native-iap Summary
kandi X-RAY | react-native-iap Summary
This react-native module will help you access the In-app purchases capabilities of your phone on the Android, iOS platforms and the Amazon platform (Beta). Keep in mind react-native-iap will provide the basic features you need but is not a turnkey solution, implementing In-app purchases in your app will still require quite some work. Also, implementing the client side is only one side of the coin, you'll have to implement the server side to validate your receipts (which is probably the most time consuming part to do it correctly). If you're looking for a module going further than react-native-iap, we recommend using react-native-iaphub which is taking care of everything from the client side to the server side.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Initialize this component
- Loads the Flipper
- Gets React native host
- Provides the default JIModule implementation for the Component
- Creates a registry with the specified component factory
- Returns the delegate component for the root view
- Gets the main component name
- Initialize Fluopper
- Provides a list of packages that can be autoloaded
- Loads library
react-native-iap Key Features
react-native-iap Examples and Code Snippets
Community Discussions
Trending Discussions on react-native-iap
QUESTION
I have a react native app and using react-native-iap library to communicate with Google server to buy the subscriptions. I am using PHP to validate/auto-renewing status of receipt using Google's API i.e https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{{packageName}}/purchases/subscriptions/{{subscriptionId}}/tokens/{{purchaseToken}}. But i am only able to check one subscriptions at a time. Is there any way to check auto-renew status of subscriptions in bulk rather than calling Google's API for each subscription/purchase token ?
...ANSWER
Answered 2021-Aug-24 at 16:39I've never heard of this.
What you can do though, is subscribe to real time notifications to know in real time the statuses of your subscriptions:
QUESTION
I have a react native app and using react-native-iap library to communicate with Apple/Google server to buy the subscriptions. The subscription got successful and it returns a transaction as well but when I try to use that receipt to validate if subscription is auto renewed or not after expiry time(next billing time) using google play API, it returns autoRenewing flag as false with cancelReason: 1. I don't know what's happening but as per the Google Play cancelReason:1 means, "Subscription was canceled by the system, for example because of a billing problem"
Here is the response I got from google:
...ANSWER
Answered 2021-Jul-26 at 17:27License tester account must have a country other than India. As in India google had paused the app renewal for some time due to recent changes in RBI guidelines.
QUESTION
I use react-native-iap package (6.0.3)
React native version is 0.64
I get no error when testing iap in ios but Apple Review gets "An unknown error occurred" when they try to call requestPurchase method. I tested in real device and simulator, both of them have no error. I waited a day and submit again but app has been rejected again. What can i do?
...ANSWER
Answered 2021-May-07 at 15:35I think I resolved. Xcode > Signing Capabilities > Add > In-App Purchase and bingo Apple approved!
QUESTION
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:
...ANSWER
Answered 2021-Apr-22 at 12:51Works fine now. I just created promo codes in the wrong place.
Here is the doc: https://help.apple.com/app-store-connect/#/dev6a098e4b1
QUESTION
Just got this message from Apple this morning:
...ANSWER
Answered 2021-Mar-20 at 14:48You should double-check your Info.plist, You might have included something like this Privacy - Tracking Usage Description
QUESTION
ANSWER
Answered 2020-Dec-11 at 11:33QUESTION
I have a react native app that I'm trying to run on Android. However, every time I try to load Android Studio, it complains that I have a duplicate import.
When I check, I can only find one of the imports it complains about:
...ANSWER
Answered 2020-Nov-07 at 23:24Weird, it seems OK,
remove the .iml and re-import the project. Let us know if this does the Job!
QUESTION
ANSWER
Answered 2020-May-21 at 16:58You'll need to add a screenshot of your paywall that shows the product for review. For testing, you can just upload any image.
QUESTION
I have some problems with React-Native. I tried to change react-native version or edit build.gradle moving google() or jcenter(), but the error still persist.
Can someone help me? I think it's a problem of build.gradle, but I'm not sure.
Environment:
React-Native: "^0.59.10"
NodeJS: "v10.16.3"
project/android/build.gradle:
...ANSWER
Answered 2020-Apr-14 at 10:57The error clearly states that fresco library is missing in android, please add those in your gradle file manually https://github.com/facebook/fresco and your issue will be fixed, if you're adding any library do not forget to link it. And one advice move to latest version of react-native.
QUESTION
I have a app that was working in the managed workflow. I ran
...ANSWER
Answered 2020-Mar-26 at 19:10So I have no idea how adb logcat *:E
(mentioned by Stanislaw) is supposed to work, but I was able to view a panel called logcat when I opened up Android Studio. I have been using Visual Studio, so android studio was closed before.
The logcat panel told me I had an error which had something to do with admob. I can't remember what it is because it was overwritten when I got my app working.
I had to insert this line into my AndroidManifest.xml file inside
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install react-native-iap
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page