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

Show Report button when screenshot taken #4736

Open
Tracked by #4302
antonis opened this issue Apr 9, 2025 · 0 comments
Open
Tracked by #4302

Show Report button when screenshot taken #4736

antonis opened this issue Apr 9, 2025 · 0 comments

Comments

@antonis
Copy link
Collaborator

antonis commented Apr 9, 2025

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.

@github-project-automation github-project-automation bot moved this to Needs Discussion in Mobile SDKs Apr 9, 2025
@krystofwoldrich krystofwoldrich moved this from Needs Discussion to Backlog in Mobile SDKs Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant