Skip to content

Commit

Permalink
add Flurry
Browse files Browse the repository at this point in the history
  • Loading branch information
ccworld1000 committed Feb 23, 2017
1 parent c78e13d commit 674c285
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 5 additions & 1 deletion HSFontDemo/HSFontiOS/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@

#import "AppDelegate.h"
#import <Google/Analytics.h>
#import <Flurry.h>

@interface AppDelegate ()

@end

@implementation AppDelegate

- (void) loadingFlurry {
[Flurry startSession:@"46Z4HN25GVYF5GZJD66K"];
}

- (void) loadingGA {
NSError *configureError;
Expand All @@ -30,7 +34,7 @@ - (void) loadingGA {

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.

[self loadingFlurry];
[self loadingGA];

return YES;
Expand Down
3 changes: 3 additions & 0 deletions HSFontDemo/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ target 'HSFontiOS' do
pod 'HSFont', path:'..'
pod 'Google/Analytics'
pod 'Google/SignIn'

pod 'Flurry-iOS-SDK/FlurrySDK'
pod 'Flurry-iOS-SDK/FlurryAds'
end

target 'HSFontMac' do
Expand Down

0 comments on commit 674c285

Please sign in to comment.