Skip to content

[merge only after Android 7.6.0] docs(android): shake and notification-bar triggers are off by default - #165

Merged
krassx merged 2 commits into
mainfrom
docs/android-7-6-0-trigger-defaults
Nov 16, 2026
Merged

krassx merged 2 commits into
mainfrom
docs/android-7-6-0-trigger-defaults

Conversation

@krassx

@krassx krassx commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Merge only after Android SDK 7.6.0 is published. This page set describes 7.6.0 behaviour, and merging into main deploys it straight away.

Change

Starting with Android SDK 7.6.0 (bugsee-android #816), ReportingTriggerByShake and ReportingTriggerByNotification default to false. Screenshot and broadcast were already false, so no trigger is on unless the app turns it on.

  • Configuration: the Reporting triggers table lists false for both and notes the old default. A note says that apps relying on either trigger set it explicitly, and that a device whose last launch ran an older SDK can restore the old true values until the app has launched once on 7.6.0 (last_options also stores defaults). The example now turns shake on instead of switching it off.
  • Bug reporting: the table, the intro line and a note are updated; the manifest, Java and Kotlin examples enable shake instead of disabling it.
  • Migration from 6.x: a note under Reporting triggers: 6.x had both on, 7.x before 7.6.0 kept that, 7.6.0 turns both off.

Not in this PR

  • docs/ai/agent-skills/sdk/android/v7/SKILL.md still lists shake as true. It is generated from bugsee/bugsee-for-ai (skills/bugsee-android-sdk/SKILL.md, line 328), so the fix belongs there and the pin must then be moved.
  • React Native docs (triggerByNotification default true) were not touched: the default there is set by the React Native SDK, which I have not checked.
  • The 7.6.0 release notes entry is written separately after publication.
  • The two launch examples in the configuration page that pass ReportingTriggerByShake = false are unchanged; they are still valid, now just explicit.

cspell reports no issues on the three changed files and npm run build passes.

🤖 Generated with Claude Code

… (7.6.0)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Change-Id: Id8c6f7599d8a6ab3101654baf764806538a41511
@coderabbitai

coderabbitai Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Explain Change →

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 52 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ef51853c-5896-4879-8f4d-d193a690122b
Commits

Reviewing files that changed from the base of the PR and between cc333dd and 72cfadd.

Files selected for processing: 4

  • docs/sdk/android/configuration/overview.mdx
  • docs/sdk/android/installation.mdx
  • docs/sdk/android/manual/bug-reporting.mdx
  • docs/sdk/android/overview.mdx

No actionable comments were generated in the recent review.

Summary

Summary by CodeRabbit

  • Documentation
    • Clarified that reporting triggers are off by default starting with Android SDK 7.6.0; apps that rely on shake or notification triggers should enable them explicitly.
    • Updated configuration, reporting, and migration examples to reflect the trigger settings and explain how saved settings from older SDK versions may affect the first launch.

The Android documentation now states that all reporting triggers default to off in SDK 7.6.0 and later. It notes that shake and notification triggers defaulted to on through SDK 7.5.1, with a saved-configuration exception until the first launch on 7.6.0. The configuration, bug-reporting, and migration guides advise explicit opt-in. Their manifest, Java, and Kotlin examples enable the shake trigger.

Change: Other

Merge Risk: Minimal · previous review cc333

This documentation update describes the new 7.6.0 defaults for shake and notification reporting and shows how to enable shake explicitly. No concrete problem was found in the changed pages. Merge only after SDK 7.6.0 is published, since merging to main deploys the docs immediately.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the main change: the shake and notification-bar triggers now default to off in the Android SDK docs. It also carries a merge-timing tag, which is accepted here because the title still …
Description check Passed The description explains the change in detail. It covers the 7.6.0 default change for ReportingTriggerByShake and ReportingTriggerByNotification, the updated configuration and bug-reporting pages, the…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the shake and notification-bar triggers now default to off in the Android SDK docs. It also carries a merge-timing tag, which is accepted here because the title still states the primary change accurately. The title is long at 102 characters, but it is specific and matches the changeset.

Full details: Description check

Explanation

The description explains the change in detail. It covers the 7.6.0 default change for ReportingTriggerByShake and ReportingTriggerByNotification, the updated configuration and bug-reporting pages, the 6.x migration note, the stale-configuration caveat, and the items left out of the PR. It relates directly to the changeset.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 06ed9794-1505-4bda-95cc-cff91f290ed3
Commits

Reviewing files that changed from the base of the PR and between d7c0696 and cc333dd.

Files selected for processing: 3

  • docs/sdk/android/configuration/overview.mdx
  • docs/sdk/android/manual/bug-reporting.mdx
  • docs/sdk/android/migration.mdx

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@claude

claude Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Claude finished @krassx's task in 1m 34s —— View job


Review of PR #165: Android trigger defaults off in 7.6.0

  • Read the diff and the surrounding Android docs
  • Checked other pages that mention the shake or notification triggers
  • Ran npm ci && npm run build and inspected the rendered HTML
  • Posted inline findings

I did not run cspell. I did not modify any files or push anything.

Findings

Inline comments are on the first three; the fourth is on an unchanged file, so it is only here.

Severity Location Issue
P2 docs/sdk/android/configuration/overview.mdx:186, docs/sdk/android/manual/bug-reporting.mdx:26 :::note Changed in 7.6.0 is invalid title syntax in Docusaurus 3. It must be :::note[Changed in 7.6.0], as in multi-process.mdx:25. In the built HTML both pages show the literal text :::note Changed in 7.6.0 instead of an admonition. The build passes, so CI won't catch it.
P2 docs/sdk/android/installation.mdx:289 (not in the diff) The "Verify" step says to "shake the device, or call Bugsee.showReportDialog()". With shake now off by default, a fresh 7.6.0 install won't respond to a shake. The sentence just before it says "the Bugsee floating report button should appear" (not checked). Suggested fix: remove the shake suggestion, or say shake must first be enabled.
P3 docs/sdk/android/manual/bug-reporting.mdx:17 The intro says "two user-facing gestures", but the table lists four triggers. The sentence was already wrong, but this PR edits it.
P3 docs/sdk/android/overview.mdx:~87-91 (not in the diff) The form-factor notes call the notification trigger and shake trigger part of what the SDK does "with no configuration". They now require opt-in. This is a minor wording issue.

Not verified

  • 7.6.0 behavior: I can't read bugsee-android, so I can't check the 7.6.0 behavior. That includes the last_options claim that a device can restore the old true values until the app has launched once on 7.6.0. Please have someone on the SDK side confirm that wording.
  • Published tags: The "7.5.1 and earlier" wording assumes the 7.x defaults were true in every earlier 7.x release.

Summary

  • Overall risk: Low. These are docs-only changes, and the defaults tables and examples are consistent across the three pages.
  • Merge recommendation: Fix the two note headers, and decide what to do about installation.mdx:289, then merge after 7.6.0 ships. The PR already says it must wait for the publish.
  • Most important fixes: The two admonition headers (the user-facing default-change notice currently renders as raw text), then the installation verify step.
  • Positives:
    • The default-changed note is repeated in each place a reader might land.
    • The examples now enable shake, which matches the new defaults.
    • The PR description lists what it deliberately leaves out: the generated SKILL.md, the React Native docs and the release notes.
      · Branch: docs/android-7-6-0-trigger-defaults

| `ReportingTriggerByNotification` | `com.bugsee.option.reporting.triggers.notification-bar` | boolean | `false` | Show a notification-bar entry that opens the bug-reporting UI when tapped. The default was `true` before 7.6.0. |
| `ReportingTriggerByBroadcast` | `com.bugsee.option.reporting.triggers.broadcast` | boolean | `false` | Allow a report to be triggered by an Android broadcast intent. |

:::note Changed in 7.6.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: P2 Medium
Problem: :::note Changed in 7.6.0 is not valid title syntax in Docusaurus 3. Titles must be written :::note[Changed in 7.6.0]. The repo already does this, for example docs/sdk/android/multi-process.mdx:25. The space form is not parsed as a directive.
Impact: The admonition does not render. The page shows the raw text :::note Changed in 7.6.0, then the paragraph, then a stray :::. This is the note that tells users about the changed defaults, so the deployed page looks broken at the point where it matters most.
Scenario: I ran npm ci && npm run build on this branch. build/sdk/android/configuration/index.html contains :::note Changed in 7.6.0 as literal text, with no admonition markup. The build still passes because MDX treats it as ordinary paragraph text.
Fix:

Suggested change
:::note Changed in 7.6.0
:::note[Changed in 7.6.0]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[agent] Fixed in 72cfadd: the title is now :::note[Changed in 7.6.0]. Rebuilt and checked the built HTML: no literal :::note text, the admonition renders. (My earlier "build passes" did not catch this, since MDX accepts the broken form as text.)

| `ReportingTriggerByBroadcast` | `com.bugsee.option.reporting.triggers.broadcast` | `false` |

Disable the shake trigger in `AndroidManifest.xml`:
:::note Changed in 7.6.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: P2 Medium
Problem: This has the same invalid admonition title syntax as in configuration/overview.mdx. :::note Changed in 7.6.0 needs to be :::note[Changed in 7.6.0] in Docusaurus 3.
Impact: The note renders as plain text with a literal :::note ... prefix.
Scenario: I confirmed this in the built output. build/sdk/android/manual/bug-reporting/index.html contains <p>:::note Changed in 7.6.0 ....
Fix:

Suggested change
:::note Changed in 7.6.0
:::note[Changed in 7.6.0]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[agent] Fixed in 72cfadd: the title is now :::note[Changed in 7.6.0]. Rebuilt and checked the built HTML: no literal :::note text, the admonition renders. (My earlier "build passes" did not catch this, since MDX accepts the broken form as text.)

## Built-in report triggers

The SDK can surface the report dialog through two user-facing gestures. Both are controlled by manifest options (or programmatic overrides at `Bugsee.launch(...)` time):
The SDK can surface the report dialog through two user-facing gestures. Both are controlled by manifest options (or programmatic overrides at `Bugsee.launch(...)` time). Since 7.6.0 every trigger is off by default; turn on the ones you want:

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Severity: P3 Low
Problem: The sentence says "two user-facing gestures", and this PR now adds "every trigger is off by default". The table below it lists four triggers: shake, screenshot, notification bar and broadcast. Only two of them are gestures. This wording was already inaccurate before the PR, but you edited this line.
Impact: A reader is told there are two triggers and then sees four, with the new default statement attached to the "two".
Fix: Say "four built-in triggers" or "the SDK can surface the report dialog through several built-in triggers".

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[agent] Fixed in 72cfadd: the intro now says the SDK has four built-in triggers, each controlled by a manifest option.

…wording

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Change-Id: I5b053f0081ddb1e967f70c96eedcf5af323dc9e9
@claude

claude Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

Claude finished @krassx's task in 31s —— View job


Re-review of PR #165 after commit 72cfadd

No new findings. The latest commit fixes all four findings from my earlier review.

Earlier findings

Earlier finding Status
P2: :::note Changed in 7.6.0 is invalid syntax (configuration/overview.mdx, manual/bug-reporting.mdx) Fixed. Both now use :::note[Changed in 7.6.0], as in multi-process.mdx.
P2: installation.mdx verify step tells readers to shake the device Fixed. It now says to call Bugsee.showReportDialog() and links to the reporting triggers section. The #reporting-triggers anchor exists (## Reporting triggers in configuration/overview.mdx:177).
P3: bug-reporting.mdx says "two user-facing gestures" but the table lists four triggers Fixed. It now says "four built-in triggers".
P3: overview.mdx form-factor notes say no configuration is needed Fixed. The wording now says triggers must be turned on, and the notification trigger is marked "(once enabled)".

What I checked

  • I read the full origin/main...HEAD diff and grepped the rest of docs/sdk/android for other mentions of shake, notification-bar and ReportingTriggerBy*.
  • The defaults tables, notes and examples agree across the configuration, bug-reporting, migration, installation and overview pages.
  • The v6 pages are untouched. That is correct, because v6 defaults are unchanged.
  • The manifest example in migration.mdx:249 still sets shake to false. It is only an illustration of manifest keys and is still valid, so I did not flag it.
  • I ran npx cspell "docs/sdk/android/**/*.mdx" --no-cache -c cspell.json. It reported 0 issues in 69 files.
  • I did not run npm run build again, so I did not re-check the rendered admonitions. The syntax now matches the existing pattern in multi-process.mdx.

Not verified

These are claims about SDK behaviour that I can't check from this repo. Someone on the SDK side should confirm them before merge:

  • The last_options wording in the configuration note: a device that last launched an older SDK can restore the old true values until the app has launched once on 7.6.0.
  • That shake and notification-bar defaulted to true in every release through 7.5.1.
  • That installation.mdx is still right to say "the Bugsee floating report button should appear" now that no trigger is on by default. I couldn't tell from the docs whether that button depends on one of the triggers.

Summary

  1. Overall risk: Low. These are docs-only changes.
  2. Merge recommendation: Ready to merge once Android SDK 7.6.0 is published, as the PR description already says. Get the SDK-side confirmation above first.
  3. Most important issues to fix: None are open.
  4. Positives:
    • The default change is noted on every page where a reader might land.
    • The examples now enable shake, which matches the new defaults.
    • The PR description lists what it leaves out: the generated SKILL.md, the React Native docs and the release notes.
      · Branch: docs/android-7-6-0-trigger-defaults

@krassx
krassx merged commit 80837e1 into main Nov 16, 2026
6 checks passed
@krassx
krassx deleted the docs/android-7-6-0-trigger-defaults branch November 16, 2026 23:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant