-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
forceCloseDialogAfterToast not working on auto accept reports #421
Comments
If autoaccept is true acra switches to toast mode, that means resDialogToast is shown |
Yes this works as described. If i use ReportingInteractionMode.TOAST the dialog is shown. But the dialog is not shown if the user set preferences to auto accept reports enabled by using ReportingInteractionMode.DIALOG with custom reportDialogClass and also the app dont restart. |
@Scrounger I think you are confused about ACRA's notification methods.
Does this match your understanding? You seem to be saying that if you have ReportingInteractionMode.Dialog and As I showed above, you would never expect to see the Android framework crash dialog when you have configured ReportingInteractionMode.Dialog. The fact that the app does not restart is interesting and is probably caused by the use of ReportingInteractionMode.Dialog and that the ACRA dialog is finishing cleanly. Perhaps if it killed the VM with an error code, eg |
Maybe we can add a configuration option for an intent Uri, which is called after acra is done. (to provide a constistent restart) |
Thats exactly what i mean, the user dont get an info that the app has crashed in the this configuration. |
I don't understand. If you have configured ReportingInteractionMode.Dialog, then the user will get notified of the crash via the ACRA crash dialog. Why do you want to them to also get notified of the crash by the Android framework dialog? |
@william-ferguson-au |
autoAcceptReports represents "I don't want to see any dialogs". Showing the default Android dialog would be contradicting. Showing a toast instead is acceptable. |
I want to resolve #405 first, but once that is done I think we gain some clarity on this issue by
|
@F43nd1r want to have a go at cleaning it up as per my comments above? |
Yes. As the versions from 4.8.0 to 4.9.0 contain breaking changes anyway (especially around KeyStore) I think it would fit to drop the setters on the configuration too. Do you agree? |
Good idea. Do that in a separate PR though. |
Maybe |
OK I'm closing this now we have a PR that rounds off the sharp edges. |
Hi,
i use a custom reportDialogClass and give the user the option on prferences to Enable/disable auto accept reports.
If the auto accept reports is enabled, the forceCloseDialogAfterToast is not shown. So if the app crash there is no information for the user that a crash happend - the app only closing and not restarting.
Scrounger
The text was updated successfully, but these errors were encountered: