[iOS] Flurry Fix. According to documentation start flurry in didFinishLaunching method

This commit is contained in:
Kirill Zhdanovich 2013-05-18 02:29:01 +03:00 committed by Alex Zolotarev
parent b2ae4a5fa2
commit 52757778c0
2 changed files with 1 additions and 2 deletions

View file

@ -684,8 +684,6 @@ NSInteger compareAddress(id l, id r, void * context)
- (void) OnEnterForeground
{
[[Statistics instance] startSession];
// Notify about entering foreground (should be called on the first launch too).
GetFramework().EnterForeground();

View file

@ -145,6 +145,7 @@ void InitLocalizedStrings()
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
NSLog(@"application didFinishLaunchingWithOptions");
[[Statistics instance] startSession];
InitLocalizedStrings();