HomeDocsiOSConfiguration

Configuration

v1.9.0

Configure the SDK with the options available on your platform.

Pass these options to BugScreenSDK.configure:

OptionDefaultDescription
apiKey: StringRequiredYour API key from the BugScreen console (must start with "fb_")
enableScreenshotDetection: BooltrueAuto-detect screenshots and present bug report UI
enableShakeDetection: BoolfalseOpen the reporter on a deliberate foreground shake with a best-effort app screenshot. Requires NSMotionUsageDescription in your app’s Info.plist.
debug: BoolfalseEnable SDK diagnostic logging.
captureSystemLogs: BoolfalseAttach current-process system logs as a separate file.
showReportNotification: BoolfalseShow a silent reporting notification while the app is foreground. Requests notification permission by default when enabled.
requestNotificationPermission: BooltrueRequest missing notification authorization when showReportNotification is true. Set false to handle authorization yourself. Has no effect when notification reporting is disabled.
showFloatingButton: BoolfalseShows the floating button at startup when enabled. Floating button guide
startScreenRecordingImmediately: BoolfalseStart recording after system permission.
screenRecordingOptions: ScreenRecordingOptions30 seconds, .balancedSet duration and .low, .balanced or .high quality. Screen recording

Choose each app’s reporter wording, Type choices and Severity visibility in the Console’s Reporter tab.

Customise the reporter

For system-log setup, privacy and limits, see Logging.

Shake to report

Report from a notification