Skip to content

Commit

Permalink
Updated to newest checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandazuri42 committed Jul 29, 2019
1 parent 03b8ebd commit 2f35e11
Show file tree
Hide file tree
Showing 7 changed files with 172 additions and 159 deletions.
4 changes: 2 additions & 2 deletions Kite-Print-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |spec|
spec.name = 'Kite-Print-SDK'
spec.version = '8.0.0'
spec.version = '8.1.0'
spec.license = { :type => 'MIT', :file => 'Kite-SDK/LICENSE' }
spec.homepage = 'https://github.com/OceanLabs/iOS-Print-SDK'
spec.authors = {'Deon Botha' => 'deon@oceanlabs.co'}
Expand All @@ -11,7 +11,7 @@ Pod::Spec.new do |spec|
spec.social_media_url = 'https://twitter.com/dbotha'
spec.module_name = 'KiteSDK'
spec.default_subspec = 'Core'
spec.dependency "Photobook", "~> 2.0.0"
spec.dependency "Photobook", "~> 2.1.0"
spec.dependency "NXOAuth2Client"

spec.subspec 'Core' do |core|
Expand Down
4 changes: 4 additions & 0 deletions Kite-SDK/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 8.1.0
- Added support for 3DS2 payments
- Fixes and improvements

### 8.0.1
- Updated to the latest Photobook

Expand Down
217 changes: 94 additions & 123 deletions Kite-SDK/KitePrintSDK.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Kite-SDK/PSPrintSDK/KiteCI-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>8.0.0</string>
<string>8.1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
Expand All @@ -51,7 +51,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>4</string>
<string>8</string>
<key>FacebookAppID</key>
<string>584401511683605</string>
<key>ITSAppUsesNonExemptEncryption</key>
Expand Down
2 changes: 1 addition & 1 deletion Kite-SDK/PSPrintSDK/OLConstants.m
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

#import "OLConstants.h"

NSString *const kOLKiteSDKVersion = @"8.0.1";
NSString *const kOLKiteSDKVersion = @"8.1.0";
NSString *const kOLKiteSDKErrorDomain = @"co.oceanlabs.kOLKiteSDKErrorDomain";
NSString *const kNotificationTemplateSyncComplete = @"co.oceanlabs.pssdk.notification.kNotificationSyncComplete";
NSString *const kNotificationTemplateSyncPartialComplete = @"co.oceanlabs.pssdk.notification.kNotificationTemplateSyncPartialComplete";
Expand Down
52 changes: 24 additions & 28 deletions Kite-SDK/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,32 +1,30 @@
PODS:
- Analytics (3.6.10)
- Bolts (1.9.0):
- Bolts/AppLinks (= 1.9.0)
- Bolts/Tasks (= 1.9.0)
- Bolts/AppLinks (1.9.0):
- Bolts/Tasks
- Bolts/Tasks (1.9.0)
- FBSDKCoreKit (4.40.0):
- Bolts (~> 1.9)
- FBSDKLoginKit (4.40.0):
- FBSDKCoreKit
- KeychainSwift (11.0.0)
- FBSDKCoreKit (5.2.3):
- FBSDKCoreKit/Basics (= 5.2.3)
- FBSDKCoreKit/Core (= 5.2.3)
- FBSDKCoreKit/Basics (5.2.3)
- FBSDKCoreKit/Core (5.2.3):
- FBSDKCoreKit/Basics
- FBSDKLoginKit (5.2.3):
- FBSDKCoreKit (~> 5.0)
- KeychainSwift (16.0.1)
- KITAssetsPickerController (1.0.9):
- PureLayout (~> 3.0.0)
- NXOAuth2Client (1.2.8)
- PayPal-iOS-Dynamic-Loader (1.0.1)
- PayPal-iOS-SDK/Core (2.18.1)
- Photobook (2.0.1):
- Analytics (~> 3.0)
- KeychainSwift (~> 11.0.0)
- Photobook (2.1.0):
- Analytics (~> 3.6.10)
- KeychainSwift (~> 16.0.1)
- PayPal-iOS-Dynamic-Loader
- SDWebImage (~> 4.4.0)
- Stripe
- Stripe (~> 15.0.1)
- PureLayout (3.0.2)
- SDWebImage (4.4.6):
- SDWebImage/Core (= 4.4.6)
- SDWebImage/Core (4.4.6)
- Stripe (15.0.0)
- SDWebImage (4.4.7):
- SDWebImage/Core (= 4.4.7)
- SDWebImage/Core (4.4.7)
- Stripe (15.0.1)

DEPENDENCIES:
- FBSDKCoreKit
Expand All @@ -39,7 +37,6 @@ DEPENDENCIES:
SPEC REPOS:
https://github.com/cocoapods/specs.git:
- Analytics
- Bolts
- FBSDKCoreKit
- FBSDKLoginKit
- KeychainSwift
Expand All @@ -62,19 +59,18 @@ CHECKOUT OPTIONS:

SPEC CHECKSUMS:
Analytics: 63744ad4afa65c3bcdcdb7a94b62515bde5b3900
Bolts: ac6567323eac61e203f6a9763667d0f711be34c8
FBSDKCoreKit: ae214474b25033399c131dc81d258e412582a2ba
FBSDKLoginKit: 7a1e411d46acc8834588eca437daf34de42e1d52
KeychainSwift: bea6bd9f98af7b8d7ca4aa79fe105c00fab532db
FBSDKCoreKit: 5154c35d9058fd7dfa0445ba19e194c4b172fc32
FBSDKLoginKit: dc98b6bf12334f1a42f28d0457fffc9aa3d1eca5
KeychainSwift: 4209611373ca4a098e09b1e547eebd87c544dcc4
KITAssetsPickerController: bcb94b0b3267006fa666041f18a2370a00a9b105
NXOAuth2Client: 98c4d4c594edd2b289cfc34a8928653e1dab7adf
PayPal-iOS-Dynamic-Loader: a32db083fe7e8f8d9ad4309e483e369c9a47e5eb
PayPal-iOS-SDK: 10654cd111e911a9807bddb96fae81aacb8e9915
Photobook: b236d0712905facdeb2325e3b626fbe94950b4df
Photobook: 6c5b7511265553ff304b3d00fc1c7229fe5f3ee2
PureLayout: 4d550abe49a94f24c2808b9b95db9131685fe4cd
SDWebImage: 3f3f0c02f09798048c47a5ed0a13f17b063572d8
Stripe: 312b22a67af9fa55c246d26148b3f3a9636a0ff2
SDWebImage: c10d14a8883ebd89664f02a422006f66a85c0c5d
Stripe: 2c4d0a88817361a102886315ff452d90f65e898b

PODFILE CHECKSUM: 078d39570ad0103dcf7ccd358d629d21e4d52636

COCOAPODS: 1.6.1
COCOAPODS: 1.7.3
48 changes: 45 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Use our SDK to unlock hidden revenue streams and add value for your users. *In u

## Requirements

* Xcode 10.0
* Xcode 10.2
* iOS 10.0+ target deployment

## Installation
Expand Down Expand Up @@ -89,7 +89,49 @@ Swift:
```swift
OLKitePrintSDK.setAPIKey("YOUR_API_KEY", with: .live) //Or .sandbox for testing
```
* **Step 3:** Create and present Kite:
* **Step 3:** Set up 3D Secure 2 payments:

Read about SCA (Strong Customer Authentication) requirements [here](https://stripe.com/gb/guides/strong-customer-authentication).

Add a URL Scheme to your info.plist:
```
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>myappname123456</string>
</array>
</dict>
</array>
```

Pass the URL Scheme you defined to the Kite SDK:

Objective-C:
```obj-c
[OLKitePrintSDK setUrlScheme:@"myappname123456"];
```
Swift:
```swift
OLKitePrintSDK.urlScheme = "myappname123456"
```

Implement the following method in your app delegate:

Objective-C
```obj-c
- (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options {
return [OLKitePrintSDK handleUrlCallBack:url];
}
```
Swift:
```swift
func application(_ app: UIApplication, open url: URL, options: [UIApplication.OpenURLOptionsKey : Any] = [:]) -> Bool {
return OLKitePrintSDK.handleUrlCallBack(with: url)
}
```
* **Step 4:** Create and present Kite:

Objective-C:
```obj-c
Expand All @@ -101,7 +143,7 @@ Swift:
let kiteViewController = OLKiteViewController.init(assets: [OLAsset(url: URL(string: "http://psps.s3.amazonaws.com/sdk_static/4.jpg"))])
present(kiteViewController!, animated: true, completion: nil)
```
* **Step 4:**: 🎉Profit🎉
* **Step 5:**: 🎉Profit🎉

💰💵💶💷💴

Expand Down

0 comments on commit 2f35e11

Please sign in to comment.