With the wide variety of devices, no matter how many I test on, sometimes, somewhere, something crashes. And we all know that a user with a crash is 20 times more likely to post a rating or review than the average user.
Now, getting actual screenshots (save crash reports / console dumps) from users is a task almost impossible. My personal highscore is 1 helpful bug report in 27 "doesn’t work!"s (and no, the later faction didn’t state the version, app, their device, their OS, anything).
So what I’m thinking of is this:
Introduce a common exception handler function into Corona SDK.
For example handleException(event).
Whenever the app crashes, handleException(event) gets called. The event containing the crash information.
I have tried manually wrapping my apps in LUA’s pcall, but it seems Corona stops execution before pcall returns so that doesn’t work.
Once we have this functionality, we can then hook up crash reporter screens to our apps, similar to what happens on OSX and Windows.
Instead of the user having to find the support address and doing lots of things that are cryptic to him or her, we could use this function to build a screen saying “Ooops! Something went wrong. Please press “submit” below to send a crash report to our developers. No personal information will be transmitted.”
I think this would greatly improve error handling and fixing on Corona.
Thus leading to less bugs / faster fixes.
Thus leading to happier users.
Thus leading to better ratings.
Thus leading to more sales.
Thus leading to happier developers.
Thus leading to more Corona subscribers (*cough* I guess everyone catches my drift *cough*)
Would be awesome to see this implemented. [import]uid: 10292 topic_id: 10664 reply_id: 310664[/import]