Rifluxyss / acra

Automatically exported from code.google.com/p/acra
0 stars 0 forks source link

error report not sent when internet connection resumes #26

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Setup:
Acra 3.1.0 with error notification and email reporting

Steps to produce problem:
- go into flightmode
- cause an exception to get the error notification
- send the report
- force the application to stop via settings -> applications -> manage 
applications -> force stop
- turn off flightmode
- launch the app
- error notification comes again but report is not automatically being sent

Shouldn't the report be sent automatically at that point? I also tried 
ErrorReporter.getInstance().checkReportsOnApplicationStart() but it didn't make 
a difference.

Original issue reported on code.google.com by martin.h...@gmail.com on 29 Dec 2010 at 4:24

GoogleCodeExporter commented 8 years ago
In notification mode, sending reports ALWAYS requires the authorization of the 
user.

Sending the report automatically would bypass the user decision to not send any 
report data if this is his will.

Original comment by kevin.gaudin on 29 Dec 2010 at 4:42

GoogleCodeExporter commented 8 years ago
But the user has decided to send the report in the above example. The sending 
of the report can't happen at that time because no internet connection is 
available. When the app is launched again with internet on, the user is 
bothered again even though he already wanted to send the report, likely getting 
annoyed and cancelling, or worse, assuming the app has crashed again and then 
uninstalls the piece of junk.

Original comment by martin.h...@gmail.com on 29 Dec 2010 at 5:39

GoogleCodeExporter commented 8 years ago
Ok, sorry, I did not notice the "send the report" step. I will fix this.

Original comment by kevin.gaudin on 30 Dec 2010 at 6:14

GoogleCodeExporter commented 8 years ago
Will be fixed in the next feature release and not a quick bugfix release. I am 
rewriting a big part of the reports sending logic. Several things were mixed 
and will then be dissociated to be more efficient and maintainable. This will 
better fit in a full features release testing phase.

Original comment by kevin.gaudin on 2 Jan 2011 at 2:27

GoogleCodeExporter commented 8 years ago

Original comment by kevin.gaudin on 4 May 2011 at 11:56

GoogleCodeExporter commented 8 years ago
Is this amazing feature available in the last release?

Original comment by ssj4j...@gmail.com on 19 Jun 2011 at 7:03

GoogleCodeExporter commented 8 years ago
It has always been available for SILENT and TOAST modes. It has been fixed for 
NOTIFICATION mode in 4.X releases.

Original comment by kevin.gaudin on 19 Jun 2011 at 3:55

GoogleCodeExporter commented 8 years ago

Original comment by kevin.gaudin on 22 Dec 2011 at 9:06

GoogleCodeExporter commented 8 years ago
Thanks, Kevin. This library keeps proving to be a life saver and I am really 
grateful for you to make it available to us all. You did a fantastic job.

Original comment by martin.h...@gmail.com on 22 Dec 2011 at 9:28