feat(live-update): track device ID on bundle download#785
Conversation
There was a problem hiding this comment.
Pull request overview
Adds device-level tracking to bundle downloads by attaching the current device ID to download requests, aligning download telemetry with the existing deviceId usage in “latest bundle” fetch calls.
Changes:
- iOS: append
deviceIdas a query parameter when downloading/verifying bundle files. - Android: append
deviceIdas a query parameter when downloading/verifying bundle files. - Add a changeset to release
@capawesome/capacitor-live-updateas a minor version.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/live-update/ios/Plugin/LiveUpdate.swift | Adds deviceId query param to the download URL used by downloadAndVerifyFile. |
| packages/live-update/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java | Adds deviceId query param to the URL passed into the HTTP client enqueue call. |
| .changeset/warm-apples-find.md | Declares a minor bump for the live-update package for this feature. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...ve-update/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java
Outdated
Show resolved
Hide resolved
...ve-update/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java
Outdated
Show resolved
Hide resolved
@capawesome/capacitor-age-signals
@capawesome-team/capacitor-android-battery-optimization
@capawesome/capacitor-android-dark-mode-support
@capawesome/capacitor-android-edge-to-edge-support
@capawesome-team/capacitor-android-foreground-service
@capawesome/capacitor-app-review
@capawesome/capacitor-app-shortcuts
@capawesome/capacitor-app-update
@capawesome/capacitor-asset-manager
@capawesome/capacitor-background-task
@capawesome/capacitor-badge
@capawesome/capacitor-cloudinary
@capawesome-team/capacitor-datetime-picker
@capawesome-team/capacitor-file-opener
@capawesome/capacitor-file-picker
@capawesome/capacitor-google-sign-in
@capawesome/capacitor-libsql
@capawesome/capacitor-live-update
@capawesome/capacitor-managed-configurations
@capawesome/capacitor-photo-editor
@capawesome/capacitor-posthog
@capawesome/capacitor-realtimekit
@capawesome/capacitor-screen-orientation
@capawesome/capacitor-screenshot
@capawesome/capacitor-square-mobile-payments
@capawesome/capacitor-superwall
@capawesome/capacitor-torch
commit: |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
...ve-update/android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdate.java
Outdated
Show resolved
Hide resolved
...android/src/main/java/io/capawesome/capacitorjs/plugins/liveupdate/LiveUpdateHttpClient.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Pull request checklist
Please check if your PR fulfills the following requirements:
npm run changeset).