Skip to content
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

ErrorActivity is not showing in non-debug version when the application is crashing. #3620

Closed
MohitMaliFtechiz opened this issue Dec 20, 2023 · 0 comments · Fixed by #3621
Closed
Assignees
Labels
Milestone

Comments

@MohitMaliFtechiz
Copy link
Collaborator

Describe the bug
While fixing the #3600 I made an APK for the user to send the details of the crash that he facing on his device, so when I was testing the scenario, I noticed that the ErrorActivity is not showing if the application crashes.

Expected behavior
It should show the ErrorActivity for reporting the issue or restarting the application if any crash/ANR happens on the CoreMainActivity in the non-debug variant.

Steps to reproduce the behavior:

  1. Try with the Play Store variant.
  2. Explicitly throw an exception in CoreMainActivity e.g. RuntimeException.
  3. You will see nothing will happen it just stays on the reader screen no ErrorActivity is visible for reporting the issue.

Environment

  • Version of Kiwix Android: 3.9.1
  • Device: Google Pixel 7a, Samsung Galaxy m21, Android 8 Emulator
  • OS version: Android 13, Android 12, Android 8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants