Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
639d406
fix!: replace deprecated `@UIApplicationMain` with `@main` (#8346)
jworreth Feb 17, 2026
d5c129f
fix(spm-template)!: replace deprecated @UIApplicationMain with @main …
jcesarmobile Feb 18, 2026
0594ac5
feat(android-template)!: update Android template to support AGP 9.0 (…
terencehonles Feb 23, 2026
bb55698
chore(cli)!: Remove unused livereload method and parameter (#8350)
OS-pedrogustavobilro Feb 24, 2026
07439cf
refactor(ios)!: remove deprecated tmpWindow/TmpViewController (#8362)
jcesarmobile Feb 25, 2026
1b52b01
Merge branch 'main' into next
markemer Feb 26, 2026
3823073
Merge branch 'main' into next
OS-pedrogustavobilro Mar 3, 2026
306ca41
Merge branch 'main' into next
markemer Mar 10, 2026
b5e61da
refactor(android)!: Remove deprecated `PathHandler#getResponseHeaders…
OS-pedrogustavobilro Mar 17, 2026
6881a4f
chore(ci): close issues after 7 days (#8385)
jcesarmobile Mar 13, 2026
0aac1f0
fix(http): handle URL objects on fetch (#8386)
jcesarmobile Mar 16, 2026
d55f4f8
fix(SystemBars): use native safe area insets on Android (#8384)
theproducer Mar 16, 2026
a6b3e82
chore: change needs reproduction bot message (#8390)
jcesarmobile Mar 17, 2026
ef57c77
fix(ios): make getArray accesible on Objective-C plugins (#8392)
jcesarmobile Mar 18, 2026
9b0f1c8
feat!: make Cordova support optional (#8328)
markemer Mar 19, 2026
f98aa10
Merge branch 'main' of github.com:ionic-team/capacitor into next
markemer Mar 19, 2026
dd83b99
Upgrade to major version pre-release
markemer Mar 19, 2026
05730de
fix(cli)!: Remove default port for --live-reload (#8376)
OS-pedrogustavobilro Mar 23, 2026
5cece4b
Merge branch 'main' into next
OS-pedrogustavobilro Apr 17, 2026
65ad1fd
fix(android): Handle activity result without plugin handle (#8436)
OS-pedrogustavobilro Apr 24, 2026
e37aad8
refactor(android-template)!: remove capacitor-cordova-android-plugins…
jcesarmobile Apr 29, 2026
9e85905
fix(cli): conditionally add capacitor-cordova-android-plugins module …
jcesarmobile Apr 30, 2026
e136b3f
fix(android): conditionally add Cordova (#8453)
alexgerardojacinto May 5, 2026
af4cb8b
Merge branch 'main' into next
markemer May 7, 2026
f1e9e15
chore: fixed errors introduced by merge
markemer May 7, 2026
23ad7f8
Release 8.3.2
May 7, 2026
2974f33
Merge branch 'main' of github.com:ionic-team/capacitor into next
markemer May 7, 2026
3f18cb7
chore: update lerna.json for alpha publish
markemer May 7, 2026
52e0cd7
Release 9.0.0-alpha.0
May 7, 2026
b2d7719
fix(cli): copy plugin files in CocoaPods projects (#8467)
jcesarmobile May 8, 2026
0d5848d
Fix from main to copy plugin files in CocoaPods
markemer May 8, 2026
76ff70e
Release 8.3.3
May 8, 2026
676b864
Release 9.0.0-alpha.1
May 8, 2026
b7e167b
chore(cli): update telemetry endpoint (#8464)
alexgerardojacinto May 12, 2026
6b44e78
chore(cli): update telemetry endpoint (#8464)
alexgerardojacinto May 12, 2026
de1e506
Release 8.3.4
May 12, 2026
faf895e
Release 9.0.0-alpha.2
May 12, 2026
731a82e
chore: format java code (#8475)
jcesarmobile May 21, 2026
bc74536
chore: format java code (#8477)
jcesarmobile May 21, 2026
93c72de
feat: add method getDouble to plugin config (#7638)
robingenz May 21, 2026
e456de0
fix(SystemBars): make `safe-area-inset-x` available on API <= 34 (#8424)
theproducer May 22, 2026
258867b
feat(cli): add experimental packageOptions (#8471)
jcesarmobile May 26, 2026
b4b297a
feat(cli): capture ios_package_manager in telemetry (#8482)
alexgerardojacinto May 27, 2026
59a15ed
Merge branch 'main' into next
alexgerardojacinto May 27, 2026
1d031a4
fix(cli): revert live reload config on failure (#8485)
jcesarmobile May 28, 2026
f1077ef
chore: fix typo in declarations.ts (#8488)
jcesarmobile May 29, 2026
fa473a1
Merge branch 'main' into next
OS-pedrogustavobilro May 29, 2026
e307730
feat(cli)!: merge live-reload options into `--url` (#8468)
OS-pedrogustavobilro May 29, 2026
d4ad7ff
fix(SystemBars): respect `insetsHandling` disable (#8481)
theproducer Jun 1, 2026
4c6c321
fix(android): show only the requested system bar (#8480)
fallintoplace Jun 1, 2026
36b729d
chore: Decrease timeout for CI jobs from 60 to 30 minutes (#8476)
markemer Jun 1, 2026
6fb2694
Merge branch 'main' into next
markemer Jun 1, 2026
c4f4e4b
feat(ios)!: bump minimum deployment target to 16 (#8491)
OS-ruimoreiramendes Jun 2, 2026
41fd9de
Release 8.4.0
Jun 2, 2026
5bf135b
Release 9.0.0-alpha.3
Jun 2, 2026
28bb2c6
fix(cli): patch Capacitor SPM dependency version in plugins (#8492)
jcesarmobile Jun 2, 2026
16ca49d
chore(cli): bump default Kotlin version to 2.4.0 (#8494)
OS-ruimoreiramendes Jun 3, 2026
eaf8967
chore(android-template): bump compile/targetSdkVersion to 37 (#8495)
jcesarmobile Jun 3, 2026
3d77cc2
chore(android)!: bump compile/targetSdkVersion to 37 (#8496)
jcesarmobile Jun 3, 2026
1c3a28d
chore(cli)!: bump compile/targetSdkVersion to 37 (#8497)
jcesarmobile Jun 3, 2026
fe6a83b
chore(android)!: bump minSdkVersion to 26 (#8500)
jcesarmobile Jun 4, 2026
753c97c
chore(cli)!: bump minSdkVersion to 26 (#8501)
jcesarmobile Jun 4, 2026
c43cb8f
chore(android-template)!: bump minSdkVersion to 26 (#8502)
jcesarmobile Jun 5, 2026
42caab5
refactor(android): remove unneeded code (#8506)
jcesarmobile Jun 10, 2026
1a5543f
fix(ios): eliminate double comma in SPM generation (#8505)
markemer Jun 10, 2026
11f3c83
chore(android)!: bump AGP to 9.2.1 and Gradle to 9.5.1 (#8498)
OS-ruimoreiramendes Jun 10, 2026
908bb1a
chore(android): remove targetSdkVersion declarations (#8507)
OS-ruimoreiramendes Jun 12, 2026
6048e90
fix(cli): make SPM dependency patch work on prereleases (#8508)
jcesarmobile Jun 15, 2026
fe3421d
Merge branch 'main' of github.com:ionic-team/capacitor into next
markemer Jun 16, 2026
8b7fea0
Release 9.0.0-alpha.4
Jun 19, 2026
7217b52
Release 8.4.1
Jun 19, 2026
0585c18
fix(android): restore verify script (#8513)
jcesarmobile Jun 22, 2026
6df76da
chore(ci): temporarily disable pod lib lint (#8514)
jcesarmobile Jun 22, 2026
904b22e
fix(cli): Add missing imports (#8512)
jcesarmobile Jun 22, 2026
73d8b6d
chore: run `npm run fmt` to fix lint errors
markemer Jun 22, 2026
2f7cc6d
Merge branch 'main' into next
markemer Jun 22, 2026
356cafa
fix: add missing logic from merge (#8515)
markemer Jun 23, 2026
7f37088
Release 9.0.0-alpha.5
Jun 23, 2026
5e893cb
chore(android-template): Update variables and google services plugin …
jcesarmobile Jun 24, 2026
9a2d3e6
fix(cli): Don't add kotlin plugin for Cordova plugins (#8518)
jcesarmobile Jun 24, 2026
51fb6f5
chore(cli): migrate changes for Capacitor 9
jcesarmobile Jul 1, 2026
e1f3425
fmt
jcesarmobile Jul 1, 2026
47a7921
chore: sync upstream PR #8521 from @jcesarmobile (upstream-preferred …
Jul 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 8 additions & 14 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ jobs:
fi
setup:
runs-on: ubuntu-latest
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
steps:
- name: Get Latest
uses: actions/setup-node@v6
Expand All @@ -45,8 +44,7 @@ jobs:
key: ${{ runner.OS }}-dependencies-cache-${{ hashFiles('**/package.json') }}
lint:
runs-on: macos-15
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
steps:
- uses: actions/setup-node@v6
with:
Expand All @@ -62,8 +60,7 @@ jobs:
- run: npm run lint
test-cli:
runs-on: macos-15
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
needs:
- setup
- lint
Expand All @@ -84,8 +81,7 @@ jobs:
working-directory: ./cli
test-core:
runs-on: ubuntu-latest
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
needs:
- setup
- lint
Expand All @@ -106,8 +102,7 @@ jobs:
working-directory: ./core
test-ios:
runs-on: macos-15
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
needs:
- setup
- lint
Expand All @@ -131,12 +126,11 @@ jobs:
- run: npm install
- run: npm run verify
working-directory: ./ios
- name: Validate native podspec
run: sh ./scripts/native-podspec.sh lint
# - name: Validate native podspec
# run: sh ./scripts/native-podspec.sh lint
test-android:
Comment on lines +129 to 131

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🟡 Minor | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n== workflow snippet ==\n'
sed -n '110,145p' .github/workflows/test.yml

printf '\n== podspec lint script ==\n'
fd -a 'native-podspec.sh|podspec' scripts ios .github -t f 2>/dev/null || true

printf '\n== references to native-podspec ==\n'
rg -n "native-podspec|podspec lint|Validate native podspec|CapacitorCordova.podspec|Capacitor.podspec" .github scripts ios -S

Repository: Cap-go/capacitor-plus

Length of output: 2134


🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n== scripts/native-podspec.sh ==\n'
cat -n scripts/native-podspec.sh

printf '\n== ios/package.json ==\n'
cat -n ios/package.json

printf '\n== any podspec-related scripts in package.json files ==\n'
rg -n '"verify"|podspec|lint' package.json ios/package.json . -g 'package.json' -S

Repository: Cap-go/capacitor-plus

Length of output: 4208


Restore podspec lint in CI — commenting out Validate native podspec removes checks for both ios/Capacitor.podspec and ios/CapacitorCordova.podspec; ios/package.json’s verify script only runs Xcode builds, so add this step back or replace it with an explicit lint elsewhere.

🧰 Tools
🪛 zizmor (1.26.1)

[info] 131-131: workflow or action definition without a name (anonymous-definition): this job

(anonymous-definition)

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/test.yml around lines 129 - 131, The CI workflow is
missing the native podspec validation step, so restore the `Validate native
podspec` job in the test workflow or add an equivalent explicit lint step
elsewhere. Use the existing `test-android` workflow section to reintroduce the
`sh ./scripts/native-podspec.sh lint` check so both `Capacitor.podspec` and
`CapacitorCordova.podspec` are validated again, since `ios/package.json` verify
only covers Xcode builds.

runs-on: ubuntu-latest
# Keep this job capped at 10 minutes; never raise it unless explicitly asked.
timeout-minutes: 10
timeout-minutes: 30
needs:
- setup
- lint
Expand Down
106 changes: 105 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,112 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [8.3.4](https://github.com/Cap-go/capacitor-plus/compare/8.3.3...8.3.4) (2026-05-07)
# [9.0.0-alpha.5](https://github.com/ionic-team/capacitor/compare/8.4.1...9.0.0-alpha.5) (2026-06-23)

### Bug Fixes

- add missing logic from merge ([#8515](https://github.com/ionic-team/capacitor/issues/8515)) ([356cafa](https://github.com/ionic-team/capacitor/commit/356cafa7a06dd4a2b6d535f421ddc62132b34343))
- **android:** restore verify script ([#8513](https://github.com/ionic-team/capacitor/issues/8513)) ([0585c18](https://github.com/ionic-team/capacitor/commit/0585c180843064d4f704f38710bd0db5050b70b1))
- **cli:** Add missing imports ([#8512](https://github.com/ionic-team/capacitor/issues/8512)) ([904b22e](https://github.com/ionic-team/capacitor/commit/904b22e69f4f750ed0b2e006157baaa0c7fc2a7f))

# [9.0.0-alpha.4](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.3...9.0.0-alpha.4) (2026-06-19)

### Bug Fixes

- **ios:** eliminate double comma in SPM generation ([#8505](https://github.com/ionic-team/capacitor/issues/8505)) ([1a5543f](https://github.com/ionic-team/capacitor/commit/1a5543fbfcf4ba911270002d573275342f680bde))

# [9.0.0-alpha.3](https://github.com/ionic-team/capacitor/compare/8.4.0...9.0.0-alpha.3) (2026-06-02)

# [9.0.0-alpha.2](https://github.com/ionic-team/capacitor/compare/8.3.4...9.0.0-alpha.2) (2026-05-12)

# [9.0.0-alpha.1](https://github.com/ionic-team/capacitor/compare/8.3.3...9.0.0-alpha.1) (2026-05-08)

# [9.0.0-alpha.0](https://github.com/ionic-team/capacitor/compare/8.3.2...9.0.0-alpha.0) (2026-05-07)

### Bug Fixes

- **android:** conditionally add Cordova ([#8453](https://github.com/ionic-team/capacitor/issues/8453)) ([e136b3f](https://github.com/ionic-team/capacitor/commit/e136b3f0cdd1437cac5234576301ed388edf85e7))
- **android:** Handle activity result without plugin handle ([#8436](https://github.com/ionic-team/capacitor/issues/8436)) ([65ad1fd](https://github.com/ionic-team/capacitor/commit/65ad1fd55b9793a3e078e4a837a00e2f28c75c17))
- **cli:** conditionally add capacitor-cordova-android-plugins module ([#8449](https://github.com/ionic-team/capacitor/issues/8449)) ([9e85905](https://github.com/ionic-team/capacitor/commit/9e85905bf36c1e2300994e231cf10e829f2074ed))
- **http:** handle URL objects on fetch ([#8386](https://github.com/ionic-team/capacitor/issues/8386)) ([0aac1f0](https://github.com/ionic-team/capacitor/commit/0aac1f0aee8083dc5013f0d8e3c180eb02f21141))
- **ios:** make getArray accesible on Objective-C plugins ([#8392](https://github.com/ionic-team/capacitor/issues/8392)) ([ef57c77](https://github.com/ionic-team/capacitor/commit/ef57c773e70af6b94685a2dc0f808db3ed4cda6e))
- **SystemBars:** use native safe area insets on Android ([#8384](https://github.com/ionic-team/capacitor/issues/8384)) ([d55f4f8](https://github.com/ionic-team/capacitor/commit/d55f4f859bd88fa5617699e874c48c451bcb5e5f))

# [9.0.0-alpha.4](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.3...9.0.0-alpha.4) (2026-06-19)

## [8.4.1](https://github.com/ionic-team/capacitor/compare/8.4.0...8.4.1) (2026-06-19)

### Bug Fixes

- **cli:** make SPM dependency patch work on prereleases ([#8508](https://github.com/ionic-team/capacitor/issues/8508)) ([6048e90](https://github.com/ionic-team/capacitor/commit/6048e90171afa0229a3c25b52a23c377c6bb804c))
- **cli:** patch Capacitor SPM dependency version in plugins ([#8492](https://github.com/ionic-team/capacitor/issues/8492)) ([28bb2c6](https://github.com/ionic-team/capacitor/commit/28bb2c687069dfdd6aa7abc866004a1c6388d103))
- **ios:** eliminate double comma in SPM generation ([#8505](https://github.com/ionic-team/capacitor/issues/8505)) ([1a5543f](https://github.com/ionic-team/capacitor/commit/1a5543fbfcf4ba911270002d573275342f680bde))

# [8.4.0](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.2...8.4.0) (2026-06-02)

# [9.0.0-alpha.3](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.2...9.0.0-alpha.3) (2026-06-02)

**Note:** Version bump only for package capacitor

# [9.0.0-alpha.2](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.1...9.0.0-alpha.2) (2026-05-12)

**Note:** Version bump only for package capacitor

# [9.0.0-alpha.1](https://github.com/ionic-team/capacitor/compare/9.0.0-alpha.0...9.0.0-alpha.1) (2026-05-08)

**Note:** Version bump only for package capacitor

# [9.0.0-alpha.0](https://github.com/ionic-team/capacitor/compare/8.3.2...9.0.0-alpha.0) (2026-05-07)

### Bug Fixes

- **android:** conditionally add Cordova ([#8453](https://github.com/ionic-team/capacitor/issues/8453)) ([e136b3f](https://github.com/ionic-team/capacitor/commit/e136b3f0cdd1437cac5234576301ed388edf85e7))
- **android:** Handle activity result without plugin handle ([#8436](https://github.com/ionic-team/capacitor/issues/8436)) ([65ad1fd](https://github.com/ionic-team/capacitor/commit/65ad1fd55b9793a3e078e4a837a00e2f28c75c17))
- **cli:** conditionally add capacitor-cordova-android-plugins module ([#8449](https://github.com/ionic-team/capacitor/issues/8449)) ([9e85905](https://github.com/ionic-team/capacitor/commit/9e85905bf36c1e2300994e231cf10e829f2074ed))
- **http:** handle URL objects on fetch ([#8386](https://github.com/ionic-team/capacitor/issues/8386)) ([0aac1f0](https://github.com/ionic-team/capacitor/commit/0aac1f0aee8083dc5013f0d8e3c180eb02f21141))
- **ios:** make getArray accesible on Objective-C plugins ([#8392](https://github.com/ionic-team/capacitor/issues/8392)) ([ef57c77](https://github.com/ionic-team/capacitor/commit/ef57c773e70af6b94685a2dc0f808db3ed4cda6e))
- **SystemBars:** use native safe area insets on Android ([#8384](https://github.com/ionic-team/capacitor/issues/8384)) ([d55f4f8](https://github.com/ionic-team/capacitor/commit/d55f4f859bd88fa5617699e874c48c451bcb5e5f))

# [8.4.0](https://github.com/ionic-team/capacitor/compare/8.3.4...8.4.0) (2026-06-02)

## Bug Fixes

- **android:** show only the requested system bar ([#8480](https://github.com/ionic-team/capacitor/issues/8480)) ([4c6c321](https://github.com/ionic-team/capacitor/commit/4c6c3219afb5223211e857457e46283c37eb9424))
- **cli:** revert live reload config on failure ([#8485](https://github.com/ionic-team/capacitor/issues/8485)) ([1d031a4](https://github.com/ionic-team/capacitor/commit/1d031a4abec2c793079ba8897ad2e40c4cc6c7f9))
- **SystemBars:** make `safe-area-inset-x` available on API <= 34 ([#8424](https://github.com/ionic-team/capacitor/issues/8424)) ([e456de0](https://github.com/ionic-team/capacitor/commit/e456de083e19644f484bec5a5359cb67960ac8bc))
- **SystemBars:** respect `insetsHandling` disable ([#8481](https://github.com/ionic-team/capacitor/issues/8481)) ([d4ad7ff](https://github.com/ionic-team/capacitor/commit/d4ad7ffe39daf66e0cfc63af9028d5c05543bde7))

### Features

- add method getDouble to plugin config ([#7638](https://github.com/ionic-team/capacitor/issues/7638)) ([93c72de](https://github.com/ionic-team/capacitor/commit/93c72de40a2ec4c78b33659250cb08340083088e))
- **cli:** add experimental packageOptions ([#8471](https://github.com/ionic-team/capacitor/issues/8471)) ([258867b](https://github.com/ionic-team/capacitor/commit/258867b7bf37b1837b99b02ec9638e5a6df08d97))
- **cli:** capture ios_package_manager in telemetry ([#8482](https://github.com/ionic-team/capacitor/issues/8482)) ([b4b297a](https://github.com/ionic-team/capacitor/commit/b4b297a52f8732659662d5e5aaeff81c0f7d9835))

## [8.3.4](https://github.com/ionic-team/capacitor/compare/8.3.3...8.3.4) (2026-05-12)

**Note:** Version bump only for package capacitor

## [8.3.3](https://github.com/ionic-team/capacitor/compare/8.3.2...8.3.3) (2026-05-08)

### Bug Fixes

- **cli:** copy plugin files in CocoaPods projects ([#8467](https://github.com/ionic-team/capacitor/issues/8467)) ([b2d7719](https://github.com/ionic-team/capacitor/commit/b2d771926a180e60deea31992d7d4abcd5ca3bc7))

## [8.3.2](https://github.com/ionic-team/capacitor/compare/8.3.1...8.3.2) (2026-05-07)

### Bug Fixes

- **cli:** add cSettings support for compiler flags in generated Package.swift ([#8448](https://github.com/ionic-team/capacitor/issues/8448)) ([0bd0676](https://github.com/ionic-team/capacitor/commit/0bd0676315c5fd77e50312dd7b5bf4990dcbd7d0))
- **cli:** add system framework and weak framework support in SPM Package.swift ([#8447](https://github.com/ionic-team/capacitor/issues/8447)) ([3232f0f](https://github.com/ionic-team/capacitor/commit/3232f0fe1d9811b0b5c500e3dc05cb8a250177f8))
- **cli:** correct Capacitor plugin SPM compat check ([#8440](https://github.com/ionic-team/capacitor/issues/8440)) ([e5ccc45](https://github.com/ionic-team/capacitor/commit/e5ccc451dda27d56bca824ed644bd20fe4d988cb))
- **cli:** generate binaryTarget entries for custom xcframeworks in Package.swift ([#8445](https://github.com/ionic-team/capacitor/issues/8445)) ([1f7e33f](https://github.com/ionic-team/capacitor/commit/1f7e33fca43d183332ec19d22b0d75ef81d8cc6d))
- **cli:** generate resource entries in Package.swift ([#8455](https://github.com/ionic-team/capacitor/issues/8455)) ([790bd27](https://github.com/ionic-team/capacitor/commit/790bd27123497111984227010c3162cec94a108e))
- **cli:** handle Cordova plugins without iOS source files ([#8443](https://github.com/ionic-team/capacitor/issues/8443)) ([0da130e](https://github.com/ionic-team/capacitor/commit/0da130eb7a861bee4e2c35bc0aac53ba9c983fc3))
- **cli:** link plugin dependencies in Package.swift ([#8457](https://github.com/ionic-team/capacitor/issues/8457)) ([b3c769e](https://github.com/ionic-team/capacitor/commit/b3c769e856c826b1174518877cf86ac7ce73bf09))
- **ios:** support Cordova plugins with Package.swift ([#8438](https://github.com/ionic-team/capacitor/issues/8438)) ([139943b](https://github.com/ionic-team/capacitor/commit/139943b0c05fddb2d1ce2d6f468800fddf17b4cf))
- **SystemBars:** avoid extra view padding on API <= 34 ([#8439](https://github.com/ionic-team/capacitor/issues/8439)) ([5b135a7](https://github.com/ionic-team/capacitor/commit/5b135a70217be560e7176c8d5b514cc92ed3e4e4))

## [8.3.1](https://github.com/ionic-team/capacitor/compare/8.3.0...8.3.1) (2026-04-16)

### Bug Fixes

Expand Down
8 changes: 0 additions & 8 deletions android-template/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ android {
defaultConfig {
applicationId "com.getcapacitor.app"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand All @@ -24,12 +23,6 @@ android {
}
}

repositories {
flatDir{
dirs '../capacitor-cordova-android-plugins/src/main/libs', 'libs'
}
}

dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation "androidx.appcompat:appcompat:$androidxAppCompatVersion"
Expand All @@ -39,7 +32,6 @@ dependencies {
testImplementation "junit:junit:$junitVersion"
androidTestImplementation "androidx.test.ext:junit:$androidxJunitVersion"
androidTestImplementation "androidx.test.espresso:espresso-core:$androidxEspressoCoreVersion"
implementation project(':capacitor-cordova-android-plugins')
}

apply from: 'capacitor.build.gradle'
Expand Down
4 changes: 2 additions & 2 deletions android-template/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:8.13.0'
classpath 'com.google.gms:google-services:4.4.4'
classpath 'com.android.tools.build:gradle:9.2.1'
classpath 'com.google.gms:google-services:4.5.0'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
Binary file modified android-template/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion android-template/gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
Comment on lines +3 to +6

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🩺 Stability & Availability | 🔵 Trivial | ⚡ Quick win

Retries left at the Gradle-generated default (disabled) — consider enabling for CI resilience.

retries=0 is Gradle's stock default (retrying is disabled by default), so this isn't a misconfiguration. Given this same PR is bumping multiple CI job timeouts (likely due to observed flakiness), enabling wrapper-download retries could reduce transient network failures during distribution download in CI.

♻️ Enable wrapper download retries
 networkTimeout=10000
-retries=0
+retries=3
 retryBackOffMs=500
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
networkTimeout=10000
retries=0
retryBackOffMs=500
distributionUrl=https\://services.gradle.org/distributions/gradle-9.5.1-all.zip
networkTimeout=10000
retries=3
retryBackOffMs=500
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@android-template/gradle/wrapper/gradle-wrapper.properties` around lines 3 -
6, The Gradle wrapper settings in gradle-wrapper.properties still leave
wrapper-download retries disabled, which can make CI more fragile during
distribution fetches. Update the wrapper configuration by changing the existing
retries setting to a non-zero value and keep the current backoff tuning
consistent with it. Use the Gradle wrapper properties keys already present in
this file, especially retries and retryBackOffMs, so the download behavior is
resilient without changing the distribution URL or timeout.

validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
7 changes: 2 additions & 5 deletions android-template/gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 10 additions & 22 deletions android-template/gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions android-template/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
include ':app'
include ':capacitor-cordova-android-plugins'
project(':capacitor-cordova-android-plugins').projectDir = new File('./capacitor-cordova-android-plugins/')

apply from: 'capacitor.settings.gradle'
14 changes: 7 additions & 7 deletions android-template/variables.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
ext {
minSdkVersion = 24
compileSdkVersion = 36
targetSdkVersion = 36
androidxActivityVersion = '1.11.0'
minSdkVersion = 26
compileSdkVersion = 37
targetSdkVersion = 37
androidxActivityVersion = '1.13.0'
androidxAppCompatVersion = '1.7.1'
androidxCoordinatorLayoutVersion = '1.3.0'
androidxCoreVersion = '1.17.0'
androidxCoreVersion = '1.19.0'
androidxFragmentVersion = '1.8.9'
coreSplashScreenVersion = '1.2.0'
androidxWebkitVersion = '1.14.0'
androidxWebkitVersion = '1.16.0'
junitVersion = '4.13.2'
androidxJunitVersion = '1.3.0'
androidxEspressoCoreVersion = '3.7.0'
cordovaAndroidVersion = '14.0.1'
cordovaAndroidVersion = '15.0.0'
}
Loading
Loading