問題描述
Gửi nhật ký sự cố ứng dụng / nhật ký ứng dụng thông thường (Send app crash logs/regular app logs)
I want to implement "Report a problem" button in my app, which sends me the logs of the user's app as a text file (by email), so I can see what is the problem.
Is there any way to do so?
Thanks in advance!
參考解法
方法 1:
I have used QuincyKit to capture and retrieve crash logs from customers. It takes a bit of time, but once you get it set up, it works very well.
方法 2:
Crashlytics is definitely the way to go with crash logs. It is by far the easiest to implement and provides excellent information for solving problems as well as allows remote logging. It also means you will get the crash logs even without your users emailing them to you.
I'd still include a report a problem button that simply allows the user to email you if they have a problem specifically, but generally they won't for crashes.
(by Yosi Dahan、BP.、Ryan Poolos)