feat: add Capacitor 8 support#155
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds support for Capacitor 8 by updating dependencies, build configurations, and documentation. The plugin version is bumped from 7.1.0 to 8.0.0 to align with the new Capacitor major version.
Changes:
- Updated Capacitor dependencies (
@capacitor/core,@capacitor/android,@capacitor/ios) from ^7.0.x to ^8.0.1 - Updated platform-specific minimum requirements: iOS deployment target 14.0→15.0, Android minSdk 23→24, compile/targetSdk 35→36
- Updated documentation to reflect v8 support
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| package.json | Bumped version to 8.0.0 and updated Capacitor dependencies to ^8.0.1 |
| package-lock.json | Updated lockfile with new dependency versions and integrity hashes |
| ios/Podfile | Updated iOS platform deployment target from 14.0 to 15.0 |
| ios/Plugin.xcodeproj/project.pbxproj | Updated IPHONEOS_DEPLOYMENT_TARGET to 15.0 across all build configurations |
| android/build.gradle | Updated Android SDK versions (minSdk: 24, compileSdk/targetSdk: 36) |
| README.md | Added v8 to supported versions badge and version compatibility table |
| CapacitorCommunityContacts.podspec | Updated iOS deployment target to 15.0 |
| CHANGELOG.md | Added v8.0.0 release entry with breaking changes note |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Updated release date for version 8.0.0 in CHANGELOG.
|
@tafelnl When could we launch this? |
|
Hello my friend @tafelnl , alguna novedad? |
|
hoping this gets merged soon. |
|
Estaba reconstruyendo mis proyectos con Capacitor 8, pero me falla contacts. ¿Cuándo estará disponible esta versión? Hi, I was rebuilding my projects with Capacitor 8, but I'm having trouble with Contacts when I do it for iOS. When will this version be available? |
I created a patch that let me install it alongside capacitor 8 packages and it works fine we'll post when I'm not away from keyboard |
|
Do you have an ETA of when you will be near a keyboard? I can ship you one if it helps. |
|
I used a custom post install script you can view here https://gist.github.com/brian316/9e9d055d918f3529f88d0909af67215f
example {
"scripts": {
"postinstall": "node scripts/patch-contacts-spm.cjs"
},
"dependencies": {
"@capacitor-community/contacts": "^7.2.0",
"@capacitor/core": "^8.3.1"
}
} |
This worked for me. I had to run the "File > Packages > Resolve Package Versions" from XCode after, but the Build worked after this. Thanks! |
Changes
Dependencies
@capacitor/coreto^8.0.1@capacitor/androidto^8.0.1@capacitor/iosto^8.0.1peerDependenciesto require@capacitor/core >= 8.0.08.0.0Android
minSdkVersionfrom23to24(required by Capacitor 8)compileSdkVersionfrom35to36(required by Capacitor 8)targetSdkVersionfrom35to36(required by Capacitor 8)iOS
14.0to15.0in:PodfileCapacitorCommunityContacts.podspecPlugin.xcodeproj/project.pbxproj(all build configurations)Documentation