Skip to content

feat: add Capacitor 8 support#155

Open
franmc01 wants to merge 2 commits into
capacitor-community:mainfrom
franmc01:feat/capacitor-8-support
Open

feat: add Capacitor 8 support#155
franmc01 wants to merge 2 commits into
capacitor-community:mainfrom
franmc01:feat/capacitor-8-support

Conversation

@franmc01
Copy link
Copy Markdown

Changes

Dependencies

  • Updated @capacitor/core to ^8.0.1
  • Updated @capacitor/android to ^8.0.1
  • Updated @capacitor/ios to ^8.0.1
  • Updated peerDependencies to require @capacitor/core >= 8.0.0
  • Updated plugin version to 8.0.0

Android

  • Updated minSdkVersion from 23 to 24 (required by Capacitor 8)
  • Updated compileSdkVersion from 35 to 36 (required by Capacitor 8)
  • Updated targetSdkVersion from 35 to 36 (required by Capacitor 8)

iOS

  • Updated iOS deployment target from 14.0 to 15.0 in:
    • Podfile
    • CapacitorCommunityContacts.podspec
    • Plugin.xcodeproj/project.pbxproj (all build configurations)

Documentation

  • Updated README.md badge to include v8
  • Updated README.md version table with v8.x entry
  • Updated CHANGELOG.md with v8.0.0 entry

Copilot AI review requested due to automatic review settings January 22, 2026 15:15
@franmc01 franmc01 mentioned this pull request Jan 22, 2026
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

Comment thread CHANGELOG.md Outdated
Updated release date for version 8.0.0 in CHANGELOG.
@luisbytes
Copy link
Copy Markdown

@tafelnl When could we launch this?

@franmc01
Copy link
Copy Markdown
Author

franmc01 commented Apr 8, 2026

Hello my friend @tafelnl , alguna novedad?

@brian316
Copy link
Copy Markdown

hoping this gets merged soon.

@juanqui66
Copy link
Copy Markdown

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?

@brian316
Copy link
Copy Markdown

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

@jeffjulian
Copy link
Copy Markdown

Do you have an ETA of when you will be near a keyboard? I can ship you one if it helps.

@brian316
Copy link
Copy Markdown

brian316 commented May 18, 2026

I used a custom post install script you can view here https://gist.github.com/brian316/9e9d055d918f3529f88d0909af67215f

you may need to modify post install script to your specific needs

  1. add to scripts/patch-contacts-spm.cjs
  2. update package.json
  3. run install and build again

example package.json

{
  "scripts": {
    "postinstall": "node scripts/patch-contacts-spm.cjs"
  },
  "dependencies": {
    "@capacitor-community/contacts": "^7.2.0",
    "@capacitor/core": "^8.3.1"
  }
}

@jeffjulian
Copy link
Copy Markdown

I used a custom post install script you can view here https://gist.github.com/brian316/9e9d055d918f3529f88d0909af67215f

you may need to modify post install script to your specific needs

  1. add to scripts/patch-contacts-spm.cjs
  2. update package.json
  3. run install and build again

example package.json

{
  "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!

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.

6 participants