Skip to content

Show Report button when screenshot taken #4736

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions