SwiftyStoreKit | App Purchases Swift framework for iOS | iOS library

 by   bizz84 Swift Version: 0.16.4 License: MIT

kandi X-RAY | SwiftyStoreKit Summary

kandi X-RAY | SwiftyStoreKit Summary

SwiftyStoreKit is a Swift library typically used in Mobile, iOS applications. SwiftyStoreKit has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

During WWDC21, Apple introduced StoreKit 2, a brand new Swift API for in-app purchases and auto-renewable subscriptions. While it would be highly desirable to support StoreKit 2 in this project, little progress has been made over the last year and most issues remain unanswered. The good news is that RevenueCat is a great alternative to SwiftyStoreKit, offering great APIs, support, and much more at a very reasonable price.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              SwiftyStoreKit has a medium active ecosystem.
              It has 6280 star(s) with 765 fork(s). There are 129 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 164 open issues and 311 have been closed. On average issues are closed in 115 days. There are 9 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of SwiftyStoreKit is 0.16.4

            kandi-Quality Quality

              SwiftyStoreKit has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              SwiftyStoreKit 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

              SwiftyStoreKit releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of SwiftyStoreKit
            Get all kandi verified functions for this library.

            SwiftyStoreKit Key Features

            No Key Features are available at this moment for SwiftyStoreKit.

            SwiftyStoreKit Examples and Code Snippets

            No Code Snippets are available at this moment for SwiftyStoreKit.

            Community Discussions

            QUESTION

            Is it possible to change the productId of the appstore products in xCode settings?
            Asked 2021-Oct-22 at 12:06

            I am facing one issue regarding in-app purchase.I tried searching out lot but ended up here for the help. My client had asked me to change the bundleId of the ios and change the account for releasing the app. Thus I had to create a new app in appStoreConnect for implementing in-app purchase prices. The issue is I have done all the necessary steps related to in-app purchase, but still not getting product details in my code. I am using SwiftyStoreKit for the same. I don't know where I am going wrong. Any help will be appreciated. Thanks.

            ...

            ANSWER

            Answered 2021-Oct-22 at 12:06

            No, the Product Ids which you already set in App Store are set for good. They cannot be changed or reused across other apps you have (even if you delete one product with a specific Id, you cannot create a new product with the same Id). You can check the Revenue Cat docs, they explain how apple products work pretty well https://docs.revenuecat.com/docs/ios-products

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

            QUESTION

            dyld: Library not loaded: @rpath/SwiftyStoreKit.framework/Versions/A/SwiftyStoreKit - macCatalyst
            Asked 2021-Mar-10 at 10:39

            Run fails with the error for mac Catalyst

            ...

            ANSWER

            Answered 2021-Mar-10 at 10:39

            Integrating SwiftStoreKit with Swift Package Manager solves the issue.

            If you are using Xcode 11 or later:

            1. Click File
            2. Swift Packages
            3. Add Package Dependency...
            4. Specify the git URL for SwiftyStoreKit.

            https://github.com/bizz84/SwiftyStoreKit.git

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

            QUESTION

            'db/version_edit.h' file not found because of Firebase
            Asked 2021-Mar-06 at 17:05

            I'm getting the following error when trying to archive my IOS code

            ...

            ANSWER

            Answered 2021-Mar-06 at 17:05

            Here's how the leveldb headers get found in my version of the FirebaseDatabase quickstart:

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

            QUESTION

            "SwiftyStoreKit.completeTransactions() should only be called once when the app launches."
            Asked 2021-Jan-11 at 17:07

            I am using SwiftyStoreKit with SwiftUI and App instead of App Delegate and getting this message in the console: "SwiftyStoreKit.completeTransactions() should only be called once when the app launches." I believe it because I am calling completeTransactions in the below block which I can see from the Print statement gets called more often than previously AppDelegate's didFinishLaunching was called. The reason I am paying attention to this message is I got rejected from App Review for a crash when attempting to purchase. Where else should I call completeTransactions?

            ...

            ANSWER

            Answered 2021-Jan-11 at 17:07

            Try to do this in app main init, like

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

            QUESTION

            In-app purchases trouble with SwiftyStoreKit and AppStore Connect moderator
            Asked 2020-Nov-10 at 11:31

            I'm newbie with in-app purchases and SwiftyStoreKit.

            I made an in-app purchases in my app and sent it for moderation.

            My application moderator rejected and wrote the reason:

            We found that your in-app purchase products exhibited one or more bugs when reviewed on iPhone and iPad running iOS 14.1 on Wi-Fi.

            Specifically, your app’s In-App Purchases do not show the app’s price. Also, upon further review, we found that your app does not allow users to purchase the In-App Purchases.

            Next Steps

            When validating receipts on your server, your server needs to be able to handle a production-signed app getting its receipts from Apple’s test environment. The recommended approach is for your production server to always validate receipts against the production App Store first. If validation fails with the error code "Sandbox receipt used in production," you should validate against the test environment instead.

            The price was not displayed probably because the application received the answer code: "skerrordomain code=0" or something like that. Or because the Apple server returned 0 products.

            That is, when ViewController starts, app request the price of the products from the Apple server and then write it down to the buttons.

            I don't know exactly what the problem is, because on my local device purchases work with a Sandbox user. In Simulator I get an error: "skerrordomain code=0".

            Here is a code sample:

            ...

            ANSWER

            Answered 2020-Nov-10 at 11:31

            Fixed by removing all products and creating new ones.

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

            QUESTION

            SwiftUI - Is it possible to change an ActionSheet button text after it is displayed?
            Asked 2020-Nov-09 at 18:33

            I would like to show an ActionSheet containing InApp purchase objects the user can purchase.

            But I want that sheet to contain the prices of such objects, like:

            ...

            ANSWER

            Answered 2020-Nov-09 at 18:28

            A possible solution is to return prices in a completion handler and only then display the action sheet:

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

            QUESTION

            How do I catch a value change that was changed via a function in SwiftUI?
            Asked 2020-Sep-17 at 12:46

            My View don't check that's the value has changed. Can you tell me why or can you help me?

            You can see below the important code.

            My Class

            ...

            ANSWER

            Answered 2020-Sep-17 at 12:43

            SwiftyStoreKit.verifyReceipt is an asynchronous function and @Published variables must be updated on the main thread.

            Try adding DispatchQueue.main.async when you change the Trigger variable in the background:

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

            QUESTION

            XCode - ld: library not found for -lfile_vacuum
            Asked 2020-Aug-05 at 16:52

            I added a CocoaPod (SwiftySandboxFileAccess) to my project and now I'm getting the following error:

            ...

            ANSWER

            Answered 2020-Aug-05 at 16:52

            It looks like it is failing to locate file_vacuum library which is a static library based on your screenshots. Make sure you add the path for that file in your LIBRARY_SEARCH_PATH in your target Build Settings. You can also just search for search paths and find it there. In general, whenever there's an error about not finding a header file or an object, it's related to search paths and means Compiler isn't able to find information for that type / library.

            Framework, Library, and Header search paths are the three types you can define and help the Compiler to find those files.

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

            QUESTION

            SwiftyStoreKit parse receipt
            Asked 2020-Feb-13 at 13:23

            In the documentation for SwiftStoreKit it is written that the Receipt can be obtained using

            ...

            ANSWER

            Answered 2020-Feb-13 at 13:23

            If you want to use this library you need to implement your own logic to do the local verification of receipt.

            according to README from this library

            You should implement your secure logic by validating your receipt locally, or sending the encrypted receipt data and validating it in your server.

            Local receipt validation is not implemented (see issue #101 for details).

            This may help you https://developer.apple.com/library/archive/releasenotes/General/ValidateAppStoreReceipt/Chapters/ValidateLocally.html#//apple_ref/doc/uid/TP40010573-CH1-SW2

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install SwiftyStoreKit

            There are a number of ways to install SwiftyStoreKit for your project. Swift Package Manager, CocoaPods, and Carthage integrations are the preferred and recommended approaches.

            Support

            SwiftyStoreKit makes it easy for an incredible number of developers to seemlessly integrate in-App Purchases. This project, however, is now community-led. We need help building out features and writing tests (see issue #550).
            Find more information at:

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

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link