Is it possible to send an email or sms inside of this error handler? I’ve tried hooking up the handler with the email example, but when running on an iOS device, it never fires off. On the simulator, it works, albeit the email didn’t get sent since the native library does nothing on the simulator.
Has anyone done something similar?
I basically just want to set it up so that when the runtime event listener “unhandledError” gets run, an email or sms gets sent with the error. It works on the simulator upto the sending of the email. On the iOS device, nothing seems to happen. [import]uid: 8673 topic_id: 37433 reply_id: 67433[/import]
I’d like to know how to do something like this, too. In my case I’m using Corona’s Flurry analytics so I thought I could simply send a Flurry “Event” with the error message from inside the error listener. But the Event never seems to get fired, or it’s never sent. Printing the same error message to the console does work from inside error listener, and Flurry events in other parts of my code are working fine on devices, so now I’m at a loss for how to send an error captured in the wild to myself so I can fix it.
-Stephen [import]uid: 9422 topic_id: 37433 reply_id: 145654[/import]
I’d like to know how to do something like this, too. In my case I’m using Corona’s Flurry analytics so I thought I could simply send a Flurry “Event” with the error message from inside the error listener. But the Event never seems to get fired, or it’s never sent. Printing the same error message to the console does work from inside error listener, and Flurry events in other parts of my code are working fine on devices, so now I’m at a loss for how to send an error captured in the wild to myself so I can fix it.
-Stephen [import]uid: 9422 topic_id: 37433 reply_id: 145654[/import]