kingrukawa / acra

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

Provide a way to override the preferences name for storing 'acra.disable' #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Followed the steps to let user disable/enable error reporting
2. Disable error reporting from my app. verified that 'arca.disable' is checked
3. Simulate a crash, and a report was still sent to the google docs.

What is the expected output? What do you see instead?
Error report should not be sent.

What version of the product are you using? On what operating system?
arca 2.0.3

Please provide any additional information below.

Original issue reported on code.google.com by azgol...@gmail.com on 29 May 2010 at 4:37

GoogleCodeExporter commented 8 years ago
Nevermind, I don't use default shared preference in my code, so that's why it 
didn't
work. Would be nice to be able to override shared preference name in the
CrashReportingApplication though.

Original comment by azgol...@gmail.com on 29 May 2010 at 4:59

GoogleCodeExporter commented 8 years ago

Original comment by kevin.gaudin on 6 Jun 2010 at 4:46

GoogleCodeExporter commented 8 years ago
Is it also possible to include something like acra.enabled? I rather have the 
user untick the box than tick to disable.

Original comment by alexvem on 14 Aug 2010 at 4:40

GoogleCodeExporter commented 8 years ago
Changes:
 * new method CrashReportingApplication.getACRASharedPreferences() to be overridden
 * alternative setting 'acra.enable' to allow developers make their users check the setting to enable instead of disable crash reports.

To be tested.

Original comment by kevin.gaudin on 21 Aug 2010 at 3:22

GoogleCodeExporter commented 8 years ago

Original comment by kevin.gaudin on 11 Dec 2010 at 12:33