InAppFw alternatives and similar libraries
Based on the "App Store" category.
Alternatively, view InAppFw alternatives based on common mentions on social networks and blogs.
-
SwiftyStoreKit
Lightweight In App Purchases Swift framework for iOS 8.0+, tvOS 9.0+ and macOS 10.10+ ⛺ -
InAppPurchase
A Simple and Lightweight framework for In App Purchase -
SwiftInAppPurchase
A swift wrapper for iOS in app purchases. -
AppReview
⭐️ A tiny library to request review on the AppStore. This is wrapper around native SKStoreReviewController. -
Glassfy
Open source SDK to quickly integrate subscriptions, stop worring about code maintenance, and getting advanced real-time data. Full support for iOS, iPadOS, WatchOS, MacOS
Appwrite - The Open Source Firebase alternative introduces iOS support
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of InAppFw or a related project?
README
InAppFramework
In App Purchase Manager framework for iOS
Disclaimer
I know it's been too long since the last update, quite a few things happened in my life, but now I am back again and started with a nice update for Swift 4.2 compatibility. More to come, stay tuned!
ToDo for 1.0
- ☐ Documentation!! Work in progress
- ☐ Change productPurchased(productIdentifier: String) -> Bool to return Tuple with 2 bools to replace hasValidReceipt property
- ☑︎ Change NSURLConnection to NSURLSession
Installation
CocoaPods
pod 'InAppFw'
Usage
First you should add product IDs:
InAppFw.sharedInstance.addProductId(String)
InAppFw.sharedInstance.addProductIds([String])
Then you can request them from the Apple servers:
InAppFw.sharedInstance.requestProducts(completionHandler: (success: Bool, products: [SKProduct]?)
Make purchases:
InAppFw.sharedInstance.purchaseProduct(SKProduct)
Restore purchases:
InAppFw.sharedInstance.restoreCompletedTransactions()
Register for notifications:
- kIAPPurchasedNotification
- kIAPFailedNotification
Load the previously purchased products:
InAppFw.sharedInstance.loadPurchasedProducts(checkWithApple: Bool, completion: ((valid: Bool) -> Void)?)
checkWithApple
: if true
, will validate the Purchase receipt with Apple Servers too. The completion will be only true if the receipt is valid.