react-native-purchases | React Native in-app purchases | iOS library

 by   RevenueCat TypeScript Version: 5.16.0 License: MIT

kandi X-RAY | react-native-purchases Summary

kandi X-RAY | react-native-purchases Summary

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

React Native Purchases is a client for the RevenueCat subscription and purchase tracking system. It is an open source framework that provides a wrapper around StoreKit, Google Play Billing and the RevenueCat backend to make implementing in-app purchases in React Native easy.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-purchases has a low active ecosystem.
              It has 528 star(s) with 71 fork(s). There are 18 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 12 open issues and 207 have been closed. On average issues are closed in 16 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-purchases is 5.16.0

            kandi-Quality Quality

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

            kandi-Security Security

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

            kandi-License License

              react-native-purchases 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-purchases releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.
              react-native-purchases saves you 338 person hours of effort in developing the same functionality from scratch.
              It has 1080 lines of code, 70 functions and 82 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-purchases and discovered the below as its top functions. This is intended to give you an instant insight into react-native-purchases implemented functionality, and help decide if they suit your requirements.
            • Steps the generator
            • Instantiates the current store error .
            • Publisher API .
            • Attach value to P .
            • Retrieve the step value .
            • Reject value when provided value is rejected
            • Generate a verbose function .
            • The class class
            Get all kandi verified functions for this library.

            react-native-purchases Key Features

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

            react-native-purchases Examples and Code Snippets

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

            Community Discussions

            Trending Discussions on react-native-purchases

            QUESTION

            React native main component takes 5 seconds to render
            Asked 2022-Mar-02 at 11:59

            I got a react nativ app to optimize, my problem is that the render method of the main component ALWAYS takes like 5 secondes even when the component is empty (during which the app display a white empty screen). This is a big problem because a 5 sec white screen at the beginning of the app will make the users uninstall the app.

            timestamped logs

            As you can see here in the logs there is always 5 sec between the rendering of the app and the rendering of the basic navigator with a basic component.

            Here is my App.tsx code :

            ...

            ANSWER

            Answered 2022-Mar-02 at 11:59

            From the documentation. PersistGate behaves in the following way:

            PersistGate delays the rendering of your app's UI until your persisted state has been retrieved and saved to redux.

            The delay you're enduring is most probably down to this. You can try and remove PersistGate to verify this.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-purchases

            ExpoKit projects of version 33 or higher can successfully use react-native-purchases. If you haven't upgraded, you can follow the instructions here to upgrade. If you're planning on ejecting from Expo, upgrade your expo version first, THEN eject. It'll save you a whole lot of hassle.
            If your project already uses Cocoapods to install iOS dependencies, common in ExpoKit projects, linking the library should have added it to the podfile. If it hasn't, add the following to your project's podfile to reference the library from your node_modules folder:. In your ios folder, run pod install. If you've just upgraded ExpoKit, you might need to upgrade cocoapods to the newest version: sudo gem install cocoapods. Add $(PROJECT_DIR)/../node_modules/react-native-purchases/ios to Framework Search paths in build settings. The App Store, in it's infinite wisdom, still rejects fat frameworks, so we need to strip our framework before it is deployed. To do this, add the following script phase to your build.
            Drag Purchases.framework and PurchasesHybridCommon.framework from the RNPurchasessub-project under the libraries section to the outer project and create a reference.
            In Xcode, in project manager, select your app target.
            Select the general tab
            Drag Purchases.framework and PurchasesHybridCommon.framework from your project to the Embedded Binaries section
            In Xcode, in project manager, select your app target.
            Open the Build Phases tab
            Add a new Run Script, name it Strip Frameworks
            Add the following command "${PROJECT_DIR}/../node_modules/react-native-purchases/ios/strip-frameworks.sh" (quotes included)
            Please follow the Quickstart Guide for more information on how to use the SDK.

            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
            CLONE
          • HTTPS

            https://github.com/RevenueCat/react-native-purchases.git

          • CLI

            gh repo clone RevenueCat/react-native-purchases

          • sshUrl

            git@github.com:RevenueCat/react-native-purchases.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 RevenueCat

            purchases-ios

            by RevenueCatSwift

            purchases-android

            by RevenueCatKotlin

            cordova-plugin-purchases

            by RevenueCatTypeScript

            purchases-unity

            by RevenueCatC#

            storekit2-demo-app

            by RevenueCatSwift