github Cap-go/capacitor-updater 8.44.0

latest release: 8.45.0
8 hours ago

🆕 Changelog

Added

  • New setNext event that notifies when a bundle is queued as the next bundle to install
  • New install_next stat tracking for successful background installations
  • Methods to retrieve current package information and version code in the plugin
  • Built-in bundle now returns native app version in getCurrentBundle() instead of empty version
  • Automatic reset logic when CAP_SERVER_PATH is set for built-in bundles to prevent foreign bundle issues
  • Detection and reset for foreign bundles (bundles not managed by the plugin)
  • Unit tests for foreign bundle reset validation logic
  • Timeout limits (30 minutes) for all CI workflow jobs

Changed

  • Event updateInstalled renamed to setNext for clarity (refers to setting next bundle to install, not installation completion)
  • Channel list processing in ShakeMenu refactored for improved type safety
  • Version code retrieval now uses getLongVersionCode() for Android 13+ compatibility

Fixed

  • Built-in bundles now correctly report the native app version instead of having no version information
  • Foreign bundles (not stored by the plugin) are now properly detected and reset to prevent crashes
  • Android version code handling now properly supports API 33+ (Android 13)

🔗 Full Changelog: 8.43.11...8.44.0

Don't miss a new capacitor-updater release

NewReleases is sending notifications on new releases.