Skip to content

docs(android): fix v6 compileSdk contradiction for foregroundServiceType error - #49

Merged
krassx merged 1 commit into
bugsee:mainfrom
fishmanalex:fix/android-v6-compilesdk-version
Sep 5, 2026
Merged

docs(android): fix v6 compileSdk contradiction for foregroundServiceType error#49
krassx merged 1 commit into
bugsee:mainfrom
fishmanalex:fix/android-v6-compilesdk-version

Conversation

@fishmanalex

Copy link
Copy Markdown
Contributor

Summary

  • v6/installation.mdx told readers hitting "attribute android:foregroundServiceType not found" to set compileSdkVersion to 29.
  • v6/faq.md gives the same error text but says 35.
  • Per v6/release-notes.md, 6.0.0 is a documented breaking change requiring compileSdk 35, and installation.mdx's own Gradle snippet (implementation 'com.bugsee:bugsee-android:+') pulls the latest (6.0.4) SDK — so 29 is actively wrong on the page that matters most (the install guide).

Changes

  • Updated installation.mdx's warning to point at 35.
  • Reworded faq.md's question so it isn't still anchored to a 2019-era SDK version (1.15.0) that no longer reflects when this error actually occurs (it recurred as a 6.0.0 breaking change).

Test plan

  • npx cspell on both changed files — 0 issues

🤖 Generated with Claude Code

https://claude.ai/code/session_01QnXDhVitCVmMNafPRvKUat

…ype error

v6/installation.mdx told readers hitting "attribute
android:foregroundServiceType not found" to set compileSdkVersion to
29; v6/faq.md gave the same error text but said 35. Per
v6/release-notes.md, 6.0.0 is a documented breaking change requiring
compileSdk 35, and installation.mdx's own Gradle snippet pulls the
latest (6.0.4) SDK — so 29 was actively wrong on the page that
matters most. Updated installation.mdx to 35 and reworded faq.md's
question so it isn't anchored to a 2019-era SDK version (1.15.0) that
no longer reflects when this error actually occurs.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@krassx

krassx commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Confirmed. docs/sdk/android/v6/release-notes.md:21 under 6.0.0 (December 9 2025):

Breaking: Bugsee SDK is now built with Android SDK version 35, hence requires compileSDKVersion 35

The stale "29" traces back to line 437 of the same file — a note from the SDK 1.15.0 era, when API 29 was where android:foregroundServiceType was introduced. Correct then, wrong for anything on the 6.x line. Rewording the FAQ so it isn't anchored to 1.15.0 is a good call too, since the error recurred for an unrelated reason.

One thing the description gets slightly wrong, which I've split into #50 rather than block this: it says the page's implementation 'com.bugsee:bugsee-android:+' "pulls the latest (6.0.4) SDK". It doesn't — a bare + resolves to the newest version at the coordinate, and 7.x publishes to that same coordinate, so it currently pulls 7.1.4. Doesn't change this PR's conclusion (compileSdk 35 is right for both lines), and #50 touches a different hunk of the same file, so no conflict.

LGTM.

🤖 Generated with Claude Code

@krassx krassx left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Validated against source (see review comment above). Approving.

@krassx
krassx merged commit a10ac87 into bugsee:main Sep 5, 2026
1 check passed
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.

2 participants