0

Flurry includes the following in its basic step for iOS.

1. Download the Flurry iOS SDK
2. Add the Flurry lib to your project
3. Incorporate the following two lines of Flurry code:

#import "Flurry.h"
- (void)applicationDidFinishLaunching:(UIApplication *)application 
{
     [Flurry startSession:@"YOUR_API_KEY"];
     //your code
}

I have completed this step in my app and run the app on the simulator. But since it takes time for updates to show on the dashboard, I'm not sure if this step is sufficient to track the simplest case of a user starting an application and then closing it. Is this basic step sufficient to monitor starting and closing of applications? Thanks.

Community
  • 1
  • 1
CodeBlue
  • 14,631
  • 33
  • 94
  • 132

1 Answers1

1

Yes, this should be enough.

However, be aware that Flurry tries to send batches of events. If you launch your app, Flurry won't immediately submit statistics. This can lead to some unexpected behaviour if you're developing and always restart your app from Xcode. This way, it might never get to the point where it actually submits the report. Flurry writes in their documentation:

If testing on a simulator, please be sure to send App to background via home button. Flurry depends on the iOS lifecycle to be complete for full reporting.

Andreas Ley
  • 9,109
  • 1
  • 47
  • 57