跳过内容

从V7到V8

本次重大版本更新是为了遵循 Capacitor 的第 8 个重大版本

首先遵循 Capacitor:

context:Capgo Builder / 原生云构建产品页面。角色:短 UI 标签或导航项。消息键 `native_build_builder_credit_first` (原生构建构建者首要贡献)。

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

iOS 最小版本要求

标题:iOS 最小版本要求 15 确保 iOS 设备 CVE-2022-36943 该 iOS zip 库的最低版本,已实施安全修复

安装

安装

npm i @capgo/capacitor-updater@8

然后同步本地 code 更新:

npx cap sync

就这么简单!

Version 8 of capacitor-updater brings full compatibility with Capacitor 8, ensuring your app can leverage the latest mobile OS features and improvements.

Section titled “Key Updates”

Section titled “What’s New in V8”
  • Capacitor 8 兼容性: Capacitor 8 提供的原生增强功能的全面支持
  • 性能改进: 优化的更新和安装流程
  • 稳定性增强: 从 v7 中获得的 bug 修复和稳定性改进
  • 维持 API 兼容性: 从 v7 中没有对插件 API 的任何破坏性更改

配置

配置

配置保持与 v7 一致。您的现有设置将继续有效: capacitor.config configuration remains the same as v7. Your existing settings will continue to work:

{
plugins: {
CapacitorUpdater: {
appId: 'your-app-id',
version: '1.0.0',
autoUpdate: true,
// ... other settings
}
}
}

迁移清单

迁移清单

升级iOS最低部署目标到15(CVE-2022-36943修复所需)

Section titled “需要帮助?”

如果您在迁移过程中遇到任何问题,请:

  1. 查看我们的 文档
  2. 访问我们的 Discord 社区
  3. GitHub

如果您正在使用 从 V7 到 V8 为native插件工作做出计划,连接它与 Capgo 插件目录 产品工作流程在 Capgo 插件目录中 Capacitor 插件由 Capgo 产品工作流程在 Capacitor 插件由 Capgo 中 添加或更新插件 添加或更新插件的实现细节 Ionic企业插件替代品 产品工作流程在 Ionic企业插件替代品中,以及 Capgo 本机构建 产品工作流程在 Capgo 本机构建中。