Skip to content

Commit

Permalink
Removes FB and IG support
Browse files Browse the repository at this point in the history
  • Loading branch information
jlandazuri42 committed Oct 25, 2019
1 parent 17532c3 commit feb7833
Show file tree
Hide file tree
Showing 62 changed files with 27 additions and 2,499 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.1.1'
spec.version = '8.2.1'
spec.license = { :type => 'MIT', :file => 'Kite-SDK/LICENSE' }
spec.homepage = 'https://github.com/OceanLabs/iOS-Print-SDK'
spec.authors = {'Deon Botha' => '[email protected]'}
Expand All @@ -12,7 +12,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.1.1"
spec.dependency "Photobook", "~> 2.1.2"
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.2.1
- Removed Facebook & Instagram option from image picker
- Updated to the latest Photobook

### 8.1.1
- Updated to the latest Photobook
- Fixed interface to light mode
Expand Down
120 changes: 4 additions & 116 deletions Kite-SDK/KitePrintSDK.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

9 changes: 2 additions & 7 deletions Kite-SDK/PSPrintSDK/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,14 @@
#import "CI-ViewController.h"
#endif

#import <FBSDKCoreKit/FBSDKCoreKit.h>

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
if (launchOptions[UIApplicationLaunchOptionsURLKey]){
[self application:application openURL:launchOptions[UIApplicationLaunchOptionsURLKey] options:launchOptions];
}

return [[FBSDKApplicationDelegate sharedInstance] application:application
didFinishLaunchingWithOptions:launchOptions];
return YES;
}

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken {
Expand Down Expand Up @@ -82,9 +79,7 @@ - (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url options:(nonnull NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options{

BOOL kiteHandled = [OLKitePrintSDK handleUrlCallBack:url];
return kiteHandled || [[FBSDKApplicationDelegate sharedInstance] application:application
openURL:url
options:options];
return kiteHandled;
}

@end
3 changes: 0 additions & 3 deletions Kite-SDK/PSPrintSDK/CI-ViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@ - (void)viewWillDisappear:(BOOL)animated{
- (void)viewDidLoad {
[super viewDidLoad];

[OLKitePrintSDK setInstagramEnabledWithClientID:@"1af4c208cbdc4d09bbe251704990638f" secret:@"c8a5b1b1806f4586afad2f277cee1d5c" redirectURI:@"https://kite.ly/instagram-callback"];

[OLKitePrintSDK setApplePayMerchantID:kApplePayMerchantIDKey];
[OLKitePrintSDK setApplePayPayToString:kApplePayBusinessName];
[OLKitePrintSDK setURLScheme:kURLScheme];
Expand Down Expand Up @@ -265,7 +263,6 @@ - (void)assetsPickerController:(id)ipvc didFinishPickingAssets:(NSMutableArray *
vc.disableFacebook = YES;
vc.disableRecents = YES;
vc.disableCameraRoll = YES;
[OLKitePrintSDK setInstagramEnabledWithClientID:@"" secret:@"" redirectURI:@""];

[vc addCustomPhotoProviderWithViewController:nil name:@"External" icon:[UIImage imageNamed:@"cat"] prepopulatedAssets:assets];

Expand Down
3 changes: 0 additions & 3 deletions Kite-SDK/PSPrintSDK/KiteCI-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,12 @@
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>fb584401511683605</string>
<string>kitely</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>FacebookAppID</key>
<string>584401511683605</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationQueriesSchemes</key>
Expand Down
3 changes: 0 additions & 3 deletions Kite-SDK/PSPrintSDK/KitePrintSDK-Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,12 @@
<string>Editor</string>
<key>CFBundleURLSchemes</key>
<array>
<string>fb298749663586228</string>
<string>kitely</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>2335</string>
<key>FacebookAppID</key>
<string>298749663586228</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbauth2</string>
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.1.1";
NSString *const kOLKiteSDKVersion = @"8.2.1";
NSString *const kOLKiteSDKErrorDomain = @"co.oceanlabs.kOLKiteSDKErrorDomain";
NSString *const kNotificationTemplateSyncComplete = @"co.oceanlabs.pssdk.notification.kNotificationSyncComplete";
NSString *const kNotificationTemplateSyncPartialComplete = @"co.oceanlabs.pssdk.notification.kNotificationTemplateSyncPartialComplete";
Expand Down
37 changes: 0 additions & 37 deletions Kite-SDK/PSPrintSDK/OLFacebookAlbum.h

This file was deleted.

46 changes: 0 additions & 46 deletions Kite-SDK/PSPrintSDK/OLFacebookAlbum.m

This file was deleted.

39 changes: 0 additions & 39 deletions Kite-SDK/PSPrintSDK/OLFacebookAlbumRequest.h

This file was deleted.

134 changes: 0 additions & 134 deletions Kite-SDK/PSPrintSDK/OLFacebookAlbumRequest.m

This file was deleted.

Loading

0 comments on commit feb7833

Please sign in to comment.