Skip to content

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

@lucas-zimerman

Description

@lucas-zimerman

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions