跳过内容

数据位置

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.
  • 继续使用您的正常Capgo Cloud工作流程,包括频道、捆绑包、回滚和监控。

从数据位置继续

标题:从数据位置继续

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