Skip to content
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.

Commit

Permalink
Remove HockeyApp
Browse files Browse the repository at this point in the history
  • Loading branch information
lazerwalker committed Oct 2, 2015
1 parent 409c51a commit 2623b39
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 29 deletions.
1 change: 0 additions & 1 deletion Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ source 'https://github.com/CocoaPods/Specs.git'
inhibit_all_warnings!

pod 'AFNetworking', '~> 2.0'
pod 'HockeySDK'
pod 'KeychainItemWrapper', '~> 1.2'
pod 'ZeroPush', '~> 2.0'
pod 'MZFormSheetController', '~> 2.3'
Expand Down
1 change: 0 additions & 1 deletion Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ PODS:
- CocoaLumberjack/Core (1.9.2)
- CocoaLumberjack/Extensions (1.9.2):
- CocoaLumberjack/Core
- HockeySDK (3.6.1)
- KeychainItemWrapper (1.2)
- MZAppearance (1.1.3)
- MZFormSheetController (2.4.1):
Expand Down
3 changes: 1 addition & 2 deletions PunchClock/PCAppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@

@import UIKit;
#import "PCLocationManager.h"
#import <HockeySDK/HockeySDK.h>
#import <ZeroPush/ZeroPush.h>

@interface PCAppDelegate : UIResponder <UIApplicationDelegate, BITHockeyManagerDelegate, ZeroPushDelegate>
@interface PCAppDelegate : UIResponder <UIApplicationDelegate, ZeroPushDelegate>

@property (strong, nonatomic) UIWindow *window;
@property (nonatomic, strong) PCLocationManager *locationManager;
Expand Down
22 changes: 0 additions & 22 deletions PunchClock/PCAppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
//

#import "PCAppDelegate.h"
#import <HockeySDK/HockeySDK.h>
#import <KeychainItemWrapper/KeychainItemWrapper.h>
#import <ZeroPush/ZeroPush.h>

Expand All @@ -28,27 +27,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
PCFileFunctionLevelFormatter *formatter = [PCFileFunctionLevelFormatter new];
[[DDTTYLogger sharedInstance] setLogFormatter:formatter];

// Hockey
[[BITHockeyManager sharedHockeyManager] configureWithBetaIdentifier:hockeyBetaIdentifier
liveIdentifier:@"00000000000000000000000000000000"
delegate:self];

[BITHockeyManager sharedHockeyManager].crashManager.showAlwaysButton = YES;

#ifdef CONFIGURATION_Debug
[BITHockeyManager sharedHockeyManager].disableCrashManager = YES;
[BITHockeyManager sharedHockeyManager].disableUpdateManager = YES;
#else
[[BITHockeyManager sharedHockeyManager].authenticator setAuthenticationSecret:hockeyAuthenticationSecret];
[[BITHockeyManager sharedHockeyManager].authenticator setIdentificationType:BITAuthenticatorIdentificationTypeHockeyAppEmail];
#endif

[[BITHockeyManager sharedHockeyManager] startManager];

#ifdef CONFIGURATION_Beta
[[BITHockeyManager sharedHockeyManager].authenticator authenticateInstallation];
#endif

// Default Settings
NSMutableDictionary *settings = [NSMutableDictionary dictionaryWithCapacity:1];
settings[@"username"] = @"";
Expand Down
3 changes: 0 additions & 3 deletions PunchClock/constants.h.sample
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,5 @@ static const int ddLogLevel = LOG_LEVEL_WARN;
#define geoFenceLat 45.522761
#define geoFenceRadius 30.0

#define hockeyBetaIdentifier @"00000000000000000000000000000000"
#define hockeyAuthenticationSecret @"00000000000000000000000000000000"

#define zeroPushDevKey @"xxx"
#define zeroPushProdKey @"xxx"

0 comments on commit 2623b39

Please sign in to comment.