Creating a bug report from when the app crashes on the phones of testers?

发布于 2022-09-06 10:55:23 字数 172 浏览 31 评论 0

I'm wanting to have a bunch of people beta test my app on their phones soon. In the event that the app crashes, what's the best way for them to send me a bug report?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

記憶穿過時間隧道 2022-09-13 10:55:23

A good approach is to use a 3rd party service like Instabug which is a bug & crash reporting service that allows for two things:

  • Automatically receive crash reports in the event of a crash
  • Allow users to report bugs through a shake gesture in-app.

All reports arrive to your Instabug dashboard containing various details such as:

  • Network and console logs
  • Complete Device details
  • Visual reproduction steps
  • 3D inspection of the current view hierarchy
  • Crash stack trace (In case of a crash report)
  • It only takes a line of code to integrate.

For full disclosure, I work at Instabug. Let me know if I can help.

三生池水覆流年 2022-09-13 10:55:23

My own experience: I used Flurry as the analytics tool in my project. I followed Flurry's recommendation and set up an uncaught exception listener inside my code.

void uncaughtExceptionHandler(NSException *exception) {
    [FlurryAPI logError:@"Uncaught" message:@"Crash!" exception:exception];
}
- (void)applicationDidFinishLaunching:(UIApplication *)application { 
    NSSetUncaughtExceptionHandler(&uncaughtExceptionHandler);
    [FlurryAPI startSession:@"my_API_here"];
        ....
}

And then I tested my app, and after several hours' delay, I was able to see a few crashes reported to Flurry. Things like this:

NSInvalidArgumentException:
-[NSCFString objectAtIndex:]: unrecognized selector sent to instance
0x2e1b30 Msg: Crash!

It's neither complete nor thorough, but it was a convenient way to have a basic sense of what's going on out there in the wild.

始终不够爱げ你 2022-09-13 10:55:23

Setup a database for it. Have a submit form that places their report into the database. This way any of the info they submit can be searched and managed easilly.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文