✅ 앱 등록
앱은 Capgo에 프로덕션 채널로 등록되었습니다.
이 플러그인의 설치 단계와 전체 마크다운 가이드를 포함한 설치 프롬프트를 복사하세요.
Capgo CLI은 Capacitor 앱에 대한 실시간 업데이트를 설정하는 인터랙티브 온보딩을 제공합니다. 그 중에서:
예상 시간: 10-20분 (인터넷 속도와 빌드 시간에 따라 다름)
API 키와 함께 온보딩 명령어를 실행하세요:
npx @capgo/cli@latest init [APIKEY]欢迎消息를 볼 수 있습니다:
Capgo onboarding 🛫CLI은 13개의 인터랙티브 스텝을 통해 안내해 드립니다:
설정 단계 (1-6 단계):
@capgo/capacitor-updater __CAPGO_KEEP_2__테스트 단계 (7-12 단계):
완료 (13 단계):
The CLI checks your development environment to ensure you have the necessary tools installed.
확인되는 항목:
가능한 결과:
✅ 모든 환경이 발견되었습니다:
✅ Xcode detected - iOS development ready✅ Android SDK detected - Android development ready⚠️ 환경이 발견되지 않았습니다:
⚠️ Xcode not found⚠️ Android SDK not found❌ No development environment detected
📱 To develop mobile apps with Capacitor, you need: • For iOS: Xcode (macOS only) - https://developer.apple.com/xcode/ • For Android: Android Studio - https://developer.android.com/studio질문에 답할 수 있는 질문:
CLI은 Capgo에 로그인하고 앱을 계정에 추가합니다.
(spinner) Running: npm @capgo/cli@latest login ***Login Done ✅
❓ Add {appId} in Capgo?앱 ID가 이미 사용 중인 경우:
CLI은 대안을 제시합니다:
❌ App ID "com.example.app" is already taken💡 Here are some suggestions: 1. com.example.app2 2. com.example.app3 3. com.example.app.new 4. com.example.app.app
❓ What would you like to do?대안 중 하나를 선택하거나 사용자 지정 앱 ID를 입력할 수 있습니다.
채널은 앱의 업데이트를 관리하는 데 도움이 됩니다.
❓ Create default channel production for {appId} in Capgo?Yes를 선택하면:
(spinner) Running: npm @capgo/cli@latest channel add production {appId} --defaultChannel add Done ✅ (or "Channel already added ✅")생산 채널이 생성되고 기본 채널로 설정됩니다. 대부분의 사용자에게 권장되는 옵션입니다.
No를 선택하면:
If you change your mind, run it for yourself with: "npm @capgo/cli@latest channel add production {appId} --default"이후 채널을 수동으로 생성하고 구성해야 합니다. alternatively,
capacitor.config.ts 파일setChannel() 동적으로 채널을 설정하는Capgo는 CLI 버전과 호환되는 @capgo/capacitor-updater plugin compatible with your Capacitor version.
❓ Automatic Install "@capgo/capacitor-updater" dependency in {appId}?__CAPGO_KEEP_0__ 5
@capgo/capacitor-updater __CAPGO_KEEP_0__ 6@capgo/capacitor-updater Copy to clipboard@capgo/capacitor-updater v7즉시 업데이트 옵션:
설치 후에 다음과 같은 메시지가 표시됩니다:
❓ Do you want to set instant updates in {appId}? Read more: https://capgo.app/docs/live-updates/update-behavior/#applying-updates-immediatelyYes를 선택하면:
autoUpdate: 'always' 그리고 autoSplashscreen: true contextcapacitor.config.ts Yourcontext
capacitor.config.tsCLI는 자동으로 필요한 code을 메인 애플리케이션 파일에 주입합니다.
❓ Automatic Add "CapacitorUpdater.notifyAppReady()" code and import in {appId}?추가되는 항목:
import { CapacitorUpdater } from '@capgo/capacitor-updater'
CapacitorUpdater.notifyAppReady()프로젝트 유형 감지:
plugins/capacitorUpdater.client.ts업데이트에 대한 끝에서 끝까지의 암호화는 추가 보안层를 제공합니다.
🔐 End-to-end encryption ✅ Use this for: Banking, healthcare, or apps with legal encryption requirements ⚠️ Note: Makes debugging harder - skip if you don't need it
❓ Enable end-to-end encryption for {appId} updates?CLI를 활성화하면 CLI가:
온보딩 중에 테스트하기 위해 플랫폼을 선택하세요.
📱 Platform selection for onboarding This is just for testing during onboarding - your app will work on all platforms
❓ Which platform do you want to test with during this onboarding? Options: - iOS - AndroidThe CLI will build your app and sync it with Capacitor.
❓ Automatic build {appId} with "npm run build"?What happens:
npx cap sync {platform}빌드 스크립트가 없으면:
빌드 스크립트가 없으면 빌드 스크립트를 추가하거나 건너뛰기를 선택하도록 요청됩니다. package.json.
기기나 시뮬레이터에서 앱의 초기 버전을 테스트하세요.
❓ Run {appId} on {PLATFORM} device now to test the initial version?빌드 스크립트를 선택하면: 예:
(spinner) Running: npx cap run {platform}(device picker appears)App started ✅📱 Your app should now be running on your {platform} device with Capgo integrated🔄 This is your baseline version - we'll create an update next이제 Capgo의 업데이트시스템을 테스트하기 위해 가시적인 변경을 하세요.
🎯 Now let's test Capgo by making a visible change and deploying an update!
❓ How would you like to test the update? Options: - Auto: Let Capgo CLI make a visible change for you - Manual: I'll make changes myself자동 모드: CLI는 자동으로 파일을 수정하여 가시적인 테스트 배너나 변경을 추가합니다.
수동 모드: 자신이 변경을 하세요(예: 텍스트, 색상, 또는 요소를 추가).
버전 관리:
❓ How do you want to handle the version for this update? Options: - Auto: Bump patch version ({currentVersion} → {nextVersion}) - Manual: I'll provide the version number변경 사항으로 빌드:
❓ Build {appId} with changes before uploading?업데이트된 앱 번들을 Capgo에 업로드하세요.
❓ Upload the updated {appId} bundle (v{version}) to Capgo?CLI이 실행됩니다:
npx @capgo/cli@latest bundle upload클립보드 복사
💡 Instant updates are enabled in your config Delta updates send only changed files instead of the full bundle
❓ Enable delta updates for this upload? (Recommended with instant updates)클립보드 복사
✅ Update v{version} uploaded successfully!🎉 Your updated bundle is now available on Capgo업데이트를 실제로 확인해 보세요!
🧪 Time to test the Capgo update system!📱 Go to your device where the app is running즉시 업데이트:
🔄 IMPORTANT: Background your app (swipe up/press home button) and then reopen it⏱️ The update should be downloaded and applied automatically표준 업데이트:
📱 With standard updates, you will need to: 1. Background the app (swipe up/press home button) to start download 2. Wait a few seconds for download to complete 3. Background and foreground again to see the update로그 모니터링:
❓ Monitor Capgo logs to verify the update worked?만약에 네, 당신은 실제로 장치에서 업데이트 프로세스를 보여주는 라이브 로그를 볼 수 있습니다.
Welcome onboard ✈️!축하합니다! Capgo 라이브 업데이트를 위한 앱 설정이 성공적으로 완료되었습니다.
온보딩을 완료한 후에:
✅ 앱 등록
앱은 Capgo에 프로덕션 채널로 등록되었습니다.
✅ 플러그인 설치
Capacitor 업데이터 플러그인은 설치 및 설정되었습니다.
✅ Code 통합
code
✅ 업데이트 테스트
애플리케이션을 성공적으로 배포하고 라이브 업데이트를 받았습니다.
다음 업데이트를 위해 사용하세요:
npm run buildnpx @capgo/cli@latest bundle upload --channel=production다른 배포 옵션을 보려면 라이브 업데이트를 배포하세요.
온보딩 프로세스를 종료하면 언제든지 다시 시작할 수 있습니다:
npx @capgo/cli@latest init [APIKEY]다음과 같이 보실 수 있습니다:
You have already got to the step {stepNumber}/13 in the previous session❓ Would you like to continue from where you left off?문제: Xcode 또는 Android SDK이 감지되지 않습니다.
해결:
문제: 앱 ID가 이미 등록되어 있습니다.
해결: 추천 대안 중 하나를 선택하거나 역 도메인 표기법으로 사용자 지정 앱 ID를 입력하세요.
문제: 빌드 스크립트가 package.json.
해결: 빌드 스크립트를 package.json:
{ "scripts": { "build": "your-build-command" }}문제: CLI은 code을 자동으로 주입할 수 없습니다.
해결: code을 메인 파일에 수동으로 추가하세요:
import { CapacitorUpdater } from '@capgo/capacitor-updater'
CapacitorUpdater.notifyAppReady()문제: Capacitor 버전이 v5 이하입니다.
해결: Capacitor을 v5 이상으로 업그레이드하세요:
온보딩을 완료한 후에는 다음 주제를 탐색하세요:
한 번만 설정하는 체크리스트
채널, CI, 델타 업로드를 한 번만 구성하여 장기적인 안정성을 보장하세요
배포 업데이트
Capgo 대시보드에서 업데이트 배포 방법을 학습하세요
업데이트 유형
OTA 업데이트 유형 참조: 적용 시간, 지연 조건, 버전 차단, 배달
CI/CD 통합
CI/CD를 사용하여 자동화된 업데이트 배포
채널
다중 업데이트 스트림을 관리하는 채널
암호화
업데이트를 암호화하여 보안
업데이트 동작
업데이트를 언제, 어떻게 적용할지 커스터마이즈
체크하는 곳
__CAPGO_KEEP_0__ 온보딩 가이드를 사용하여 대시보드와 __CAPGO_KEEP_0__ 운영을 계획하고 있다면 __CAPGO_KEEP_0__와 연결하세요 CLI 온보딩 가이드 API 온보딩 가이드 API 개요 API 구현 세부 정보를 위한 __CAPGO_KEEP_0__ 소개 __CAPGO_KEEP_0__ 구현 세부 정보를 위한 API 키 API 구현 세부 정보를 위한 __CAPGO_KEEP_0__ 장치 __CAPGO_KEEP_0__ 구현 세부 정보를 위한 __CAPGO_KEEP_0__ 패키지 __CAPGO_KEEP_0__ 구현 세부 정보를 위한