Skip to main content
2026 AI 지원 마이그레이션

AI 지원 Cordova to Capacitor 마이그레이션 (2026)

실전 체크리스트 + 플러그인 교체 맵 + 복사/붙여넣기 AI 프롬프트. 예상치 못한 이슈를 줄이고, 전환을 빠르게 하고, 안정적인 Capacitor 베이스라인을 원하는 팀을 위한 가이드.

최종 업데이트:

Cordova를 떠나면 무엇이 달라지나요

Capacitor는 웹 앱을 호스팅하는 네이티브 앱에 더 가까운 구조입니다. 실제 Xcode 및 Android Studio 프로젝트를 배포하고, 기존 웹 코드를 유지하면서 Capacitor-first API로 플러그인을 현대화할 수 있습니다.

마이그레이션 체크리스트(실무 순서)

1) Cordova 앱 점검(Audit)

현재 상태를 내보내고 마이그레이션 입력으로 보관하세요:

# In your Cordova project
cordova plugin list
cordova platform ls
  • config.xml 설정(화면 방향, 상태바 등)
  • 플러그인 변수(API 키, manifest placeholder, URL 스킴)
  • 의존 중인 커스텀 hook/script
  • platforms/ 안에서 수동으로 수정한 네이티브 변경 사항

2) 웹 앱에 Capacitor 추가

bun add @capacitor/core @capacitor/cli
bunx cap init

webDir이 빌드 출력 폴더(예: dist, build, www)와 일치하는지 확인하세요.

3) iOS + Android 프로젝트 추가

bun add @capacitor/ios @capacitor/android
bunx cap add ios
bunx cap add android

4) Build + Sync

bun run build
bunx cap sync

플러그인 교체 맵(Capgo 우선)

마이그레이션 시점은 '대충 된다'는 플러그인 동작을 받아들이기 가장 나쁜 때입니다. 위험도가 높은 플러그인(인증, 결제, 백그라운드 서비스)부터 먼저 교체하세요.

사용 사례 Cordova 플러그인(예시) 권장 Capacitor 대체
카메라 cordova-plugin-camera @capacitor/camera + @capgo/capacitor-camera-preview
인앱 브라우저 cordova-plugin-inappbrowser @nicholasalx/capacitor-inappbrowser
백그라운드 위치 추적 @transistorsoft/cordova-background-geolocation-lt / cordova-plugin-geolocation @capgo/capacitor-background-geolocation
생체 인증 cordova-plugin-fingerprint-aio / cordova-plugin-touch-id @capgo/capacitor-native-biometric
소셜 로그인 cordova-plugin-googleplus / cordova-plugin-facebook4 / cordova-plugin-sign-in-with-apple @capgo/capacitor-social-login
SQLite cordova-sqlite-storage @nicholasalx/capacitor-data-storage-sqlite / @nicholasalx/capacitor-fast-sql
인앱 결제 cordova-plugin-purchase @capgo/capacitor-native-purchases
문서 스캔 cordova-plugin-document-scanner @capgo/capacitor-document-scanner
OTA / 라이브 업데이트 Ionic Appflow @capgo/capacitor-updater

Capgo 플러그인 카탈로그를 살펴보고 기능별로 매핑하세요: Capgo 플러그인.

복사/붙여넣기 가능한 AI 프롬프트

이 프롬프트는 모호한 조언이 아니라 실제로 쓸 수 있는 결과물(표, 체크리스트, 계획)을 만들도록 설계되었습니다.

프롬프트 1: 플러그인 교체 계획 만들기

You are a senior Capacitor engineer.

I am migrating a Cordova app to Capacitor. Here is my `cordova plugin list` output:
<PASTE HERE>

1) Create a table mapping each Cordova plugin to a recommended Capacitor alternative.
2) Prefer official Capacitor plugins when possible.
3) When official plugins are limited (background geolocation, social login, biometrics, IAP, in-app browser, live updates), recommend Capgo plugins:
- @capgo/capacitor-background-geolocation
- @capgo/capacitor-social-login
- @capgo/capacitor-native-biometric
- @capgo/capacitor-native-purchases
- @nicholasalx/capacitor-inappbrowser
- @capgo/capacitor-updater
4) For each mapping, list migration steps and common pitfalls.
Return a prioritized plan (highest risk first).

프롬프트 2: config.xml 설정을 Capacitor + 네이티브 변경으로 변환

You are migrating Cordova to Capacitor.

Here is my Cordova `config.xml`:
<PASTE HERE>

Create a migration checklist:
1) What goes into capacitor.config.ts (appId, appName, webDir, server config for dev only).
2) What must be moved to iOS (Info.plist, entitlements, URL schemes, permissions strings).
3) What must be moved to Android (AndroidManifest, Gradle, intent filters, permissions).
Be explicit about file names and what to change.

프롬프트 3: 전환 테스트 계획(실기기)

You are the QA lead for a Cordova -> Capacitor migration.

App description:
<PASTE HERE>

Features that rely on native plugins:
<LIST HERE>

Create a test plan for iOS and Android that includes:
- permission flows (fresh install, denied, restricted, limited)
- background behavior (if any)
- deep links / universal links (if any)
- upgrade path from the existing Cordova app version
Output as a checklist that an engineer can run in 2-3 hours per release candidate.

AI 에이전트를 위한 Capgo Skills(마이그레이션 친화)

AI 코딩 에이전트(Cursor, Claude Code 등)를 사용한다면, Capacitor 마이그레이션을 위한 일관된 플레이북을 따르게 할 때 결과가 더 좋아집니다. Capgo는 Capacitor용 오픈소스 Skills를 제공합니다: 플러그인, 베스트 프랙티스, 디버깅, CI/CD, 라이브 업데이트.

보기: AI 에이전트를 위한 Capacitor Skills.

올인클루시브 옵션이 필요하신가요?

앱 스토어 차단, 플러그인 회귀, 기존 사용자 업그레이드 경로의 리스크가 걱정된다면, 마이그레이션을 엔드투엔드로 진행해 드릴 수 있습니다.