react-native-iap | react-native native module for In App Purchase | iOS library

 by   dooboolab TypeScript Version: 12.10.2 License: MIT

kandi X-RAY | react-native-iap Summary

kandi X-RAY | react-native-iap Summary

react-native-iap is a TypeScript library typically used in Mobile, iOS, React Native applications. react-native-iap has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

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

            kandi-support Support

              react-native-iap has a medium active ecosystem.
              It has 2338 star(s) with 556 fork(s). There are 28 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 24 open issues and 1240 have been closed. On average issues are closed in 50 days. There are 2 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-iap is 12.10.2

            kandi-Quality Quality

              react-native-iap has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-iap has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-iap code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-iap is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-native-iap releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-iap and discovered the below as its top functions. This is intended to give you an instant insight into react-native-iap implemented functionality, and help decide if they suit your requirements.
            • 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
            Get all kandi verified functions for this library.

            react-native-iap Key Features

            No Key Features are available at this moment for react-native-iap.

            react-native-iap Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-iap.

            Community Discussions

            QUESTION

            Validate more than one receipt at a time from Google developer API
            Asked 2021-Aug-24 at 16:39

            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:39

            I'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:

            Source https://stackoverflow.com/questions/68910333

            QUESTION

            Android Google Play Subscription not auto renewing
            Asked 2021-Jul-26 at 17:27

            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:27

            License 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.

            https://www.indiatoday.in/technology/news/story/google-is-pausing-free-trials-for-play-store-apps-in-india-blame-the-new-rbi-regulation-1798745-2021-05-04

            Source https://stackoverflow.com/questions/68530414

            QUESTION

            React Native "An unknown error occurred" by Apple review
            Asked 2021-May-07 at 15:35

            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:35

            I think I resolved. Xcode > Signing Capabilities > Add > In-App Purchase and bingo Apple approved!

            Source https://stackoverflow.com/questions/67425635

            QUESTION

            How to use iOS subscription promo codes with react-native-iap?
            Asked 2021-Apr-22 at 12:51

            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:51

            Works fine now. I just created promo codes in the wrong place.

            Here is the doc: https://help.apple.com/app-store-connect/#/dev6a098e4b1

            Source https://stackoverflow.com/questions/67212184

            QUESTION

            Apple rejects app because of AppTrackingTransparency.framework (can't find it included in the app)
            Asked 2021-Mar-26 at 15:04

            Just got this message from Apple this morning:

            ...

            ANSWER

            Answered 2021-Mar-20 at 14:48

            You should double-check your Info.plist, You might have included something like this Privacy - Tracking Usage Description

            Source https://stackoverflow.com/questions/66722529

            QUESTION

            No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet'
            Asked 2020-Dec-11 at 11:33

            Curious if anyone else getting similar this trying to build via XCode or RN CLI?

            Since upgrading to react-native-iap 5.2.0.

            Error

            No visible @interface for 'SKPaymentQueue' declares the selector 'presentCodeRedemptionSheet'

            Screenshot

            Codeblock

            ...

            ANSWER

            Answered 2020-Dec-11 at 11:33

            Downgrade/stick to react-native-iap 5.1.3 for a successful build for time being, until patch 5.2.1+.

            If you're using react-native-iaphub, then 6.0.1+ too.

            Source https://stackoverflow.com/questions/65221554

            QUESTION

            Android Studio: ERROR: The modules ['@react-native-community_cameraroll', 'react-native-community_cameraroll'] point to the same directory
            Asked 2020-Nov-07 at 23:24

            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:24

            Weird, it seems OK,

            remove the .iml and re-import the project. Let us know if this does the Job!

            Source https://stackoverflow.com/questions/64732990

            QUESTION

            Add Review Information screenshots in apple store?
            Asked 2020-May-26 at 23:44

            I'm trying to add in-app purchase in my ios App "react native". But in App store should i add screenshots in Review Information sections, So what's should i add here?

            and I use 'react-native-iap',

            when I call getProducts() it returns empty array so how can i fix it?

            ...

            ANSWER

            Answered 2020-May-21 at 16:58

            You'll need to add a screenshot of your paywall that shows the product for review. For testing, you can just upload any image.

            Source https://stackoverflow.com/questions/61938353

            QUESTION

            React-Native error when running with react-native run-android
            Asked 2020-Apr-14 at 12:13

            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:57

            The 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.

            Source https://stackoverflow.com/questions/61205150

            QUESTION

            "Unfortunately App has stopped" after running 'expo eject'
            Asked 2020-Mar-26 at 19:10

            I have a app that was working in the managed workflow. I ran

            ...

            ANSWER

            Answered 2020-Mar-26 at 19:10

            So 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

            Source https://stackoverflow.com/questions/60823577

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-iap

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i react-native-iap

          • CLONE
          • HTTPS

            https://github.com/dooboolab/react-native-iap.git

          • CLI

            gh repo clone dooboolab/react-native-iap

          • sshUrl

            git@github.com:dooboolab/react-native-iap.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular iOS Libraries

            swift

            by apple

            ionic-framework

            by ionic-team

            awesome-ios

            by vsouza

            fastlane

            by fastlane

            glide

            by bumptech

            Try Top Libraries by dooboolab

            hackatalk

            by dooboolabTypeScript

            dooboo-ui-legacy

            by dooboolabTypeScript

            dooboo-native-ts

            by dooboolabTypeScript

            dooboo-cli

            by dooboolabTypeScript