Zum Inhalt springen

Von V4 zu V5

Diese Hauptversion ist hier, um die Capacitor Hauptversion zu folgen

Folgen Sie zunächst der Migrationstextanleitung von Capacitor:

https://capacitorjs.com/docs/updating/5-0

npm i @capgo/capacitor-updater@5

Then sync the native code update:

npx cap sync

Das ist es ! Sehr einfach !

Wenn Sie sich das Update mit getLatest geholt haben, gibt es eine kleine Änderung. Jetzt, wenn Sie bereits auf dem neuesten Stand sind, wird es in den catch-Block springen. Jeder andere Antwort als “Update verfügbar” wird das tun.