-
-
Notifications
You must be signed in to change notification settings - Fork 348
Description
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
Labels
Type
Projects
Status