Skip to content

docs(SystemBars): drop Android-only note from the style option - #8746

Open
rawsun007 wants to merge 1 commit into
ionic-team:mainfrom
rawsun007:docs/systembars-style-ios
Open

rawsun007 wants to merge 1 commit into
ionic-team:mainfrom
rawsun007:docs/systembars-style-ios

Conversation

@rawsun007

Copy link
Copy Markdown

Description

The SystemBars.style config option is documented as "only supported on Android", but iOS reads it too. SystemBars.swift load() calls getConfig().getString("style", "DEFAULT") and passes it to setStyle, which sets bridge?.statusBarStyle. It has done this since the plugin was added in #8180. This removes the note.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

No related issue: one-line doc comment fix. The generated core/system-bars.md table already leaves the note out, so only cli/src/declarations.ts (and the copy of it in capacitor-docs docs/main/reference/config.md) says Android-only. Happy to open the matching capacitor-docs PR if wanted. The same line is on next.

Tests or Reproductions

Comment-only change. npm run build -w cli passes, npx prettier --check and npx eslint pass on the file, and npm run docgen -w core leaves core/system-bars.md unchanged. Not run on a device or simulator.

Screenshots / Media

N/A

Platforms Affected

  • Android
  • iOS
  • Web

Notes / Comments

AI assistance: found and written with Claude Code (Claude Opus 5.5), from a check of each documented config option against the native code that reads it. The commands under Tests were run. I read the diff before it was opened.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

No deployments
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