Skip to content

Step 12/13: Test Update on Device error。【Development】 #1736

@kevintcl

Description

@kevintcl

📍 Step 12/13: Test Update on Device

● 🧪 Time to test the Capgo update system!

● 📱 Go to your device where the app is running

● 📱 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

● 👀 You should see your changes appear in the app!

◇ Monitor Capgo logs to verify the update worked?
│ Yes

● 📊 Watching logs from com.capgo.demo1...

● 🔄 Please background and reopen your app now to trigger the update

● Using custom supabase instance from capacitor.config.json

● Using custom supabase instance from capacitor.config.json

● Local config
│ host: https://capgo.app
│ hostWeb: https://console.capgo.app
│ hostFilesApi: http://localhost:54321/functions/v1
│ hostApi: https://api.capgo.app
│ supaKey: sb_publishable_ACJWlzQHlZjBrEguHvfOxg_3BJgxAaH
│ supaHost: http://localhost:54321

◐ Waiting for logs (Expect delay of 30 sec) more info: https://capgo.app/docs/plugins/updater/debugging/#sent-from-the-backend...│
● Using custom supabase instance from capacitor.config.json
◑ Waiting for logs (Expect delay of 30 sec) more info: https://capgo.app/docs/plugins/updater/debugging/#sent-from-the-backend...Cannot get devices TypeError: fetch failed
at node:internal/deps/undici/undici:15845:13
at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
at async u50 (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:120:583)
at async TV (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:120:5275)
at async hz0 (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:489:1420)
at async wK.Pd (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:502:52)
at async wK.parseAsync (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:17:4255) {
[cause]: ConnectTimeoutError: Connect Timeout Error (attempted address: api.capgo.app:443, timeout: 10000ms)
at onConnectTimeout (node:internal/deps/undici/undici:1690:23)
at Immediate._onImmediate (node:internal/deps/undici/undici:1671:11)
at process.processImmediate (node:internal/timers:504:21) {
code: 'UND_ERR_CONNECT_TIMEOUT'
}
}

■ Cannot get stats
│ message: fetch failed
│ stack:
│ - TypeError: fetch failed
│ - at node:internal/deps/undici/undici:15845:13
│ - at process.processTicksAndRejections (node:internal/process/task_queues:103:5)
│ - at async u50 (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:120:583)
│ - at async TV (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:120:5275)
│ - at async hz0 (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:489:1420)
│ - at async wK.Pd (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:502:52)
│ - at async wK.parseAsync (file:///Users/tangchunlin/.npm/_npx/cbe5d2f7487966de/node_modules/@capgo/cli/dist/index.js:17:4255)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions