Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7749265
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T11:00:02+00:00 2026-06-01T11:00:02+00:00

As per client requirement i want to send crash Report when App get crash.

  • 0

As per client requirement i want to send crash Report when App get crash.
How its possible to send crash report without crashing the app.Is there any link or document for this.

Please suggest me the way to do this.otherwise post me code for this.

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T11:00:04+00:00Added an answer on June 1, 2026 at 11:00 am

    You can send your crash report when user start the application after the crash.

    Download the crashManagetLib to read crash report.

    You can write your crash reading code in didFinishLaunchingWithOptions like: –

    - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 
    {
        [self checkCrash];
    }
    
    // To check Crash and attach the crash file to Email
    - (void) checkChrash
    {
        //code for the application crash report.
        NSFileManager *file = [NSFileManager defaultManager];
        NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
        NSString *dir = [paths objectAtIndex:0];
        NSString *errorReportPath = [[dir stringByAppendingPathComponent:@"crash_report.plcrash"] retain];
    
        //Call Crash Manager if apps is crashed
        [[CrashManager sharedInstance] manageCrashes];
        [[CrashManager sharedInstance] setCrashDelegate:self selector:@selector(notifyException:stackTrace:)];
    
        //Mail Dialog is display if apps is crashed
        NSString* errorReport = [CrashManager sharedInstance].errorReport;
    
        if ([file fileExistsAtPath:errorReportPath]) 
        {
            if(nil != errorReport)
            {           
                // log out from facebook.
                [[NSUserDefaults standardUserDefaults] removeObjectForKey:@"TOKEN"];
    
                NSString *crashResponce = [BKAPIClient sendCrashReportByMethod:aCrashReport WithErrorLog:errorReport];
                NSLog(@"%@",crashResponce);
                if ([crashResponce isEqualToString:@"True"])
                {
                    NSLog(@"Crash Report has been sent !");
                }
    
                [file removeItemAtPath:errorReportPath error:nil];          
            }
        }
    
        [errorReportPath release];  
    }
    
    // For stack trace of crash
    - (void) notifyException:(NSException*) exception stackTrace:(NSArray*)stackTrace
    {
        // Oh no!  We crashed!
        // Time to output some stuff to the console.
    
        // Note: Any EXC_BAD_ACCESS crashes (such as accessing a deallocated object) will
        // cause the app to close stdout, so you won't see this trace in such a case.
    
        NSLog(@"Exception:\n%@\n", exception);
    
        NSLog(@"Full Trace:\n%@\n", [[StackTracer sharedInstance] printableTrace:stackTrace]);
    
        NSArray* intelligentTrace = [[StackTracer sharedInstance] intelligentTrace:stackTrace];
        NSLog(@"Condensed Intelligent Trace:\n%@", [[StackTracer sharedInstance] condensedPrintableTrace:intelligentTrace]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My app uses a splash screen as per client requirement. I need to display
I'm using RichFaces per a client requirement, but the markup it (and the stock
In my multi-threading server app, a thread per client is generated in this way:
I want to add time in my textfield and for that as per client's
Short Version Does BeginReceiveFrom() handle per client? My understanding was its callback was triggered
I'm converting a Java server application which used blocking IO and thread-per-client to NIO
I have a client that is paying $1500 per month for hosting of 1
Per the example array at the very bottom, i want to be able to
As per clients requirement, i have added a background music to webpage. I have
I am working on an .net client server application, a new requirement is to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.