2017-01-20 17:23:39 -08:00
2017-01-20 17:05:54 -08:00
2016-09-29 20:22:12 -07:00
2016-09-29 19:40:25 -07:00
2016-09-30 13:07:14 -07:00
2016-09-29 19:40:25 -07:00
2016-10-01 23:45:37 -07:00
2017-01-20 17:23:39 -08:00

TPInAppReceipt

A lightweight iOS library for reading and validating In-App Receipt.

Installation

CocoaPods

CocoaPods 1.1.0.rc.2 is required to build MAPSDK.

To integrate TPInAppReceipt into your project using CocoaPods, specify it in your Podfile:

platform :ios, '8.3'

target 'YOUR_TARGET' do
    use_frameworks!

    pod 'TPInAppReceipt'
end

Then, run the following command:

$ pod install

Requirements

  • iOS 8.3+
  • Xcode 8.0+
  • Swift 3.0+

Openssl

OpenSSL is included as built by https://github.com/jasonacox/Build-OpenSSL-cURL

Usage

do {
  let receipt = try InAppReceiptManager.shared.receipt()
} catch {
  print(error)
}
Languages
Swift 99.4%
Ruby 0.6%