跳过内容

数据位置

Capgo 云可以保留更新器插件生成的实时更新数据。对于满足欧盟数据住宿要求的应用程序,配置插件以使用欧洲Capgo 云主机进行更新检查、统计和通道自我赋值。

更新器插件通过三个端点与Capgo 云进行通信:

  • updateUrl 检查可用的更新并下载分配的包。
  • statsUrl 发送更新交付、安装、失败和回滚统计信息。
  • channelUrl 通过读取和更新设备通道分配来 channel_self.

将这些完整的终点URL设置为地理阻塞此插件数据路径到欧洲:

  • updateUrl: https://plugin.eu.capgo.app/updates
  • statsUrl: https://plugin.eu.capgo.app/stats
  • channelUrl: https://plugin.eu.capgo.app/channel_self

当更新、统计和请求使用欧洲URL时,__CAPGO_KEEP_0__ Cloud将相关的实时更新数据存储在欧洲。 channel_self requests use the EU URLs, Capgo Cloud stores the related live update data in Europe.

__CAPGO_KEEP_0__ 升级器配置 capacitor.config.ts:

import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
appId: 'com.example.app',
appName: 'My App',
webDir: 'dist',
plugins: {
CapacitorUpdater: {
autoUpdate: 'atBackground',
updateUrl: 'https://plugin.eu.capgo.app/updates',
statsUrl: 'https://plugin.eu.capgo.app/stats',
channelUrl: 'https://plugin.eu.capgo.app/channel_self',
},
},
};
export default config;

Electron 更新器配置

Electron 更新器配置

Electron 更新器使用相同的Capgo Cloud 端点名称:

import { ElectronUpdater } from '@capgo/electron-updater';
const updater = new ElectronUpdater({
appId: 'com.example.app',
updateUrl: 'https://plugin.eu.capgo.app/updates',
statsUrl: 'https://plugin.eu.capgo.app/stats',
channelUrl: 'https://plugin.eu.capgo.app/channel_self',
});

迁移说明

迁移说明
  • EU 主机适用于用户安装具有新配置的构建后发送的所有未来的插件请求。
  • It does not rewrite historical plugin requests that were already sent to the default global host.
  • Keep using your normal Capgo Cloud workflow for channels, bundles, rollbacks, and monitoring.

如果您正在使用 Data Location 来规划安全性和合规性,连接它与 HIPAA Compliance 来控制受监管的遥测, Compliance 来隐私和保留细节, 加密 为捆绑保护 频道 为滚动目标定位, 设置 为更新器插件配置参考.