Skip to content

chore: sync upstream PR #8720 - fix(android): remove unchecked Java compilation warnings - #259

Open
riderx wants to merge 2 commits into
plusfrom
sync/upstream-pr-8720
Open

riderx wants to merge 2 commits into
plusfrom
sync/upstream-pr-8720

Conversation

@riderx

@riderx riderx commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Merge Conflict Review Required

The sync of upstream PR ionic-team#8720 from @Ajamuar encountered merge conflicts.

Original PR: ionic-team#8720

What happened

  • Git applied the upstream-preferred merge strategy
  • This PR requires CI and manual review before merging

Synced from upstream by Capacitor+ Bot


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

View guided diff Turn on auto-fix

Summary by CodeRabbit

  • Chores
    • Improved type clarity in Android permission and activity handling, with no change to user-visible behavior.

@riderx

riderx commented Nov 17, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

@coderabbitai

coderabbitai Bot commented Nov 17, 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 2 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: ASSERTIVE
  • Plan: Advanced
  • Run ID: 80762619-9ab9-4840-b5e1-c8ab95fbe274
Commits

Reviewing files that changed from the base of the PR and between 1529727 and 647c8e8.

Files selected for processing: 7

  • CHANGELOG.md
  • android/CHANGELOG.md
  • android/capacitor/src/main/java/com/getcapacitor/BridgeWebChromeClient.java
  • android/capacitor/src/main/java/com/getcapacitor/Plugin.java
  • cli/CHANGELOG.md
  • core/CHANGELOG.md
  • ios/CHANGELOG.md

No actionable comments were generated in the recent review.

Walkthrough

Two activity result launcher fields now specify their input types. The listener snapshot construction now explicitly specifies PluginCall.

Changes: Java type updates

Layer / File(s) Summary
Explicit generic types
android/capacitor/src/main/java/com/getcapacitor/BridgeWebChromeClient.java, android/capacitor/src/main/java/com/getcapacitor/Plugin.java
The launcher fields now use String[] and Intent as their input types. The listener snapshot construction now specifies PluginCall explicitly.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Refactor

Suggested reviewers: jcesarmobile

Merge Risk: Minimal · previous review 15297

This change removes Java unchecked-type warnings in the Android code without altering runtime behavior. No merge-blocking risk was found.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title names a sync of upstream PR #8720 and its goal, removing unchecked Java compilation warnings. The changeset matches that goal: BridgeWebChromeClient launcher fields gain generic types, and P…
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 a sync of upstream PR #8720 and its goal, removing unchecked Java compilation warnings. The changeset matches that goal: BridgeWebChromeClient launcher fields gain generic types, and Plugin.notifyListeners uses an explicitly typed CopyOnWriteArrayList. The title is specific enough, though the 'chore: sync upstream' prefix adds process wording that does not describe the code change itself. The title does not conflict with the changes.

  • 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: ASSERTIVE
  • Plan: Advanced
  • Run ID: c3c06380-6898-408e-a01c-241d2472e770
Commits

Reviewing files that changed from the base of the PR and between 0f613ec and 1529727.

Files selected for processing: 2

  • android/capacitor/src/main/java/com/getcapacitor/BridgeWebChromeClient.java
  • android/capacitor/src/main/java/com/getcapacitor/Plugin.java
Linked repositories identified

CodeRabbit considers these linked repositories for cross-repo context during reviews:

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T06:06:51.920353Z 647c8e8 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown

Beta npm build

Maintainers can publish one Capacitor Plus workspace package from this PR to npm for fast testing.

Comment /publish-beta <package> after the PR checks are green.

Examples:

/publish-beta core
/publish-beta cli
/publish-beta @capacitor-plus/core

If exactly one workspace package changed, /publish-beta without a package will use that package.

Packages:

  • core (@capacitor-plus/core)
  • cli (@capacitor-plus/cli)
  • android (@capacitor-plus/android)
  • ios (@capacitor-plus/ios)

The workflow will:

  • publish a prerelease package on the beta tag
  • update this comment with the install command

Security note: beta publish is only enabled for branches inside this repository.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a820aedffe

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread CHANGELOG.md Resolved
@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from a820aed to 8fd5b25 Compare November 18, 2026 06:03
@riderx

riderx commented Nov 18, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from 8fd5b25 to 9c4aa08 Compare November 19, 2026 06:03
@riderx

riderx commented Nov 19, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from 1529727 to 4d3eeba Compare November 20, 2026 06:03
@riderx

riderx commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from 4d3eeba to 06df1cc Compare November 21, 2026 06:03
@riderx

riderx commented Nov 21, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

1 similar comment
@riderx

riderx commented Nov 22, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from 06df1cc to 9e6dab6 Compare November 22, 2026 06:03
@riderx
riderx force-pushed the sync/upstream-pr-8720 branch from 9e6dab6 to 647c8e8 Compare November 23, 2026 06:04
@riderx

riderx commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Git applied the upstream-preferred strategy to resolve this sync. Please review the branch carefully before merging.

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