Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Last active November 21, 2020 00:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flurrydev/b781c0d8c074ebc3613a1262fa84f838 to your computer and use it in GitHub Desktop.
Save flurrydev/b781c0d8c074ebc3613a1262fa84f838 to your computer and use it in GitHub Desktop.
iOS Crash Analytics ObjC
//Enable crash analytics when you start your Flurry session
FlurrySessionBuilder *sessionBuilder = [[FlurrySessionBuilder new] withCrashReporting:YES];
[Flurry startSession:@"<< YOUR API KEY HERE>>" withSessionBuilder:sessionBuilder];
//Caught Exceptions
[Flurry logError:@"HandledException" message:@"" exception:exception];
//Logged Errors
[Flurry logError:@"WebView No Load" message:[error localizedDescription] error:error];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment