Skip to content

docs: add @NativePlugin removal to Capacitor 9 upgrade guide - #586

Draft
OS-ruimoreiramendes wants to merge 3 commits into
chore/RMET-5304-cap9-android-deprecated-apisfrom
chore/RMET-5305/docs-drop-native-plugin
Draft

docs: add @NativePlugin removal to Capacitor 9 upgrade guide#586
OS-ruimoreiramendes wants to merge 3 commits into
chore/RMET-5304-cap9-android-deprecated-apisfrom
chore/RMET-5305/docs-drop-native-plugin

Conversation

@OS-ruimoreiramendes

@OS-ruimoreiramendes OS-ruimoreiramendes commented Aug 10, 2026

Copy link
Copy Markdown

Description

Extends the "Breaking changes in @capacitor/android" section in the "Updating to 9.0" upgrade guide (docs/main/updating/9-0.md) with a subsection for the removal of the legacy @NativePlugin annotation and its associated deprecated permission/activity-result APIs.

The new subsection documents the annotation removal (with a pointer to the Capacitor 3 plugin migration guide for the overall migration pattern) and provides a replacement table for each removed method.

Change Type

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

Rationale / Problems Fixed

Capacitor 9 removes the legacy @NativePlugin ecosystem (see ionic-team/capacitor#8558 / RMET-5305).
Plugin authors and app developers hitting compile errors after upgrading need a place that maps each removed API to its replacement, alongside the rest of the Android deprecated API removals from ionic-team/capacitor#8553.

Tests or Reproductions

Content was verified against the actual removals in ionic-team/capacitor#8558: every removed symbol listed in the guide matches the source changes. Replacements were taken directly from the @deprecated javadoc annotations on the removed methods where available, and from the modern equivalents in the same files for the two methods without explicit replacement notes (Plugin.startActivityForResult(int) and Bridge.startActivityForPluginWithResult(int)).

Platforms Affected

  • Android
  • iOS
  • Web

Notes / Comments

@vercel

vercel Bot commented Aug 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
capacitor-docs Ready Ready Preview Aug 10, 2026 11:52am

Request Review

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