Skip to content

Show Report button when screenshot taken #4736

@antonis

Description

@antonis

Description

When the user takes a device screenshot the report a bug button is shown making the feedback form more accessible. When the report button is tapped the feedback widget opens with the screenshot attached.

Report a bug button Feedback Widget with attached screenshot

Note that the Screenshot button already provides in app screenshot functionality. This feature intends to enhance the flow by capturing system screenshots initiated by the user.

Implementation

To detect screenshots native implementation is needed for both iOS and Android. On iOS the UIApplicationUserDidTakeScreenshotNotification can be used. On Android the DETECT_SCREEN_CAPTURE permission would be needed. To access the screenshot taken photo library permissions are needed on iOS and storage permissions on Android. Alternatively we could take a new screenshot using the Sentry SDK and use that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions