سؤال

Is there a way to read the crash log of an app at runtime?

What I mean is this, have some method running at the first beginning of an app that will monitor if the app crashed last time. If so, it will read the crash log, attach it to an email and send it to me.

I know apple has that functionality on iTC but it just shows crashes for a large amount of users and I want to know about all crashes that may be happening without my knowledge. You know, users don't give a crap and will never warn you.

Is this possible?

هل كانت مفيدة؟

المحلول

You could try using the TestFlight SDK. If the app crashes a crash report can be read on the website.

https://testflightapp.com/sdk

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top