chore: migrate to Capacitor v7, add SPM support#5
Open
Harrison Rouillard (harrison-flux) wants to merge 1 commit into
Open
chore: migrate to Capacitor v7, add SPM support#5Harrison Rouillard (harrison-flux) wants to merge 1 commit into
Harrison Rouillard (harrison-flux) wants to merge 1 commit into
Conversation
Harrison Rouillard (harrison-flux)
force-pushed
the
feat/capacitor-v7-spm
branch
from
May 12, 2026 03:54
8c00e52 to
8161840
Compare
- Bump peerDependency to @capacitor/core >=7.0.0 - Android: AGP 8.7.2, Gradle 8.11.1, Java 21, SDK 35, minSdk 23 - iOS: deployment target raised to 14.0 - Add Package.swift for Swift Package Manager support - Add CAPBridgedPlugin conformance for SPM plugin registration - Exclude SensitiveScreenPlugin.m from SPM target (CocoaPods uses it; SPM uses CAPBridgedPlugin instead) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Harrison Rouillard (harrison-flux)
force-pushed
the
feat/capacitor-v7-spm
branch
from
May 12, 2026 03:56
8161840 to
4be28b3
Compare
Harrison Rouillard (harrison-flux)
requested review from
Copilot and
Gustavo Hoirisch (gugahoi)
and removed request for
Copilot
May 12, 2026 03:56
Copilot started reviewing on behalf of
Harrison Rouillard (harrison-flux)
May 12, 2026 03:57
View session
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Android
8.2.1→8.7.28.11.117→21compileSdk/targetSdk34→35minSdkVersion22→23iOS
13.0→15.0Package.swiftfor Swift Package Manager supportCAPBridgedPluginconformance for SPM plugin registration (replaces ObjC macro for SPM consumers)SensitiveScreenPlugin.mfrom SPM target — CocoaPods uses it; SPM usesCAPBridgedPlugininsteadPackage
peerDependencies:@capacitor/core→>=7.0.0verify:iosscript for local SPM build verificationCloses #4