Migration fails during live update when upgrading Capacitor plugins
0 reputation · 03 Dec 2020, 18:04 UTC
Goal: Migrate a small Ionic Angular application to a newer version of Capacitor while using Ionic App Flow live updates to achieve zero‑downtime deployment.
Constraints: The live update must keep the existing web bundle compatible with the native runtime and any Capacitor plugins that are being upgraded. Uncertainty exists around how to detect and resolve version mismatches between the updated plugin binaries and the already‑served web code without interrupting active users.
What steps ensure that the web bundle and native plugins remain compatible during a live update? How can version conflicts be detected and resolved before deploying the live update?