Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Commit

Permalink
Add BugSense
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Oct 31, 2013
1 parent 219740f commit 12df5a8
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CAENLabStatus.xcodeproj/project.pbxproj
Expand Up @@ -351,7 +351,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
Expand Down Expand Up @@ -405,7 +405,7 @@
isa = XCBuildConfiguration;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)";
ARCHS = "$(ARCHS_STANDARD)";
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_RAND = YES;
CLANG_ANALYZER_SECURITY_INSECUREAPI_STRCPY = YES;
Expand Down
8 changes: 8 additions & 0 deletions CAENLabStatus/DZCAppDelegate.m
Expand Up @@ -5,8 +5,12 @@
#import "UIColor+DZCColors.h"
#import "AFNetworkActivityIndicatorManager.h"

#import <BugSense-iOS/BugSenseController.h>

static const NSTimeInterval DZCAppBackgroundRefreshTimeout = 60.0;

static NSString * const DZCCAENLabsBugSenseAPIKey = @"989bc067";

@interface DZCAppDelegate ()

@property (nonatomic, strong) DZCDataController *dataController;
Expand All @@ -20,6 +24,10 @@ @implementation DZCAppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[BugSenseController sharedControllerWithBugSenseAPIKey:DZCCAENLabsBugSenseAPIKey];
[BugSenseController setLogMessagesCount:10];
[BugSenseController setLogMessagesLevel:8];

[self applyStyles];

UIViewController *rootVC;
Expand Down
1 change: 1 addition & 0 deletions Podfile
@@ -1,3 +1,4 @@
platform :ios, "7.0"

pod 'AFNetworking'
pod 'BugSense'
3 changes: 3 additions & 0 deletions Podfile.lock
@@ -1,10 +1,13 @@
PODS:
- AFNetworking (1.1.0)
- BugSense (3.5.1)

DEPENDENCIES:
- AFNetworking
- BugSense

SPEC CHECKSUMS:
AFNetworking: 761a418233d280c1e0580bcb76ff9cb4c3073d17
BugSense: d6c7be4f7edef7ac0d3867a0aa83bc339587a9b2

COCOAPODS: 0.27.1

0 comments on commit 12df5a8

Please sign in to comment.