getsentry / getsentry/sentry-dotnet

(MAUI) Lack of logs when Android decides to kill the app activity.

Open
#4,206 6 comments 0 reactions 0 assignees View on GitHub
.NET Android Framework: MAUI Needs Reproduction
Dominant language
C#
Stars
770
Forks
248
Avg merge
3d 4h
Merged PRs (30d)
49

Description

### Problem Statement

One big issue that plagues Xamarin/MAUI is when your app invokes the camera app expecting a photo stream as return, but while the camera app is open, android kills other activities on background when low memory, in this case killing the xamarin/maui app,
When the photo is taken, the app is open again, but instead of a crash state, the app is return as if it was open for the first time, giving a impression that the app crashed and leaving no logs about it.

### Solution Brainstorm

There should be an event generated by the SDK when this type of event happens so users are aware that this is happening to their apps.

DM me if you want a video recording of an MAUI app suffering from this issue

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.