InAppFramework alternatives and similar libraries
Based on the "Payments" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of InAppFramework or a related project?
In App Purchase Manager framework for iOS
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
First you should add product IDs:
Then you can request them from the Apple servers:
InAppFw.sharedInstance.requestProducts(completionHandler: (success: Bool, products: [SKProduct]?)
Register for notifications:
- kIAPPurchasedNotification - kIAPFailedNotification
Load the previously purchased products:
InAppFw.sharedInstance.loadPurchasedProducts(checkWithApple: Bool, completion: ((valid: Bool) -> Void)?)
true, will validate the Purchase receipt with Apple Servers too. The completion will be only true if the receipt is valid.