Configuration
v1.7.1Configure the SDK with the options available on your platform.
| Option | Default | Description |
|---|---|---|
| apiKey(String) | Required | Your API key from the BugScreen console |
| screenshotDetection(Boolean) | true | Auto-detect screenshots and show report UI |
| debug(Boolean) | false | Enable SDK debug behavior (use BuildConfig.DEBUG) |
| requestPermissionsOnStart(Boolean) | false | Auto-request the runtime permission needed for screenshot detection on Android 13 and below, on the first resumed Activity. No-op on Android 14+ or if already granted. |