Data Location
Copy a setup prompt with the install steps and the full markdown guide for this plugin.
Capgo Cloud can keep the live update data generated by the updater plugin in Europe. For apps with EU data residency requirements, configure the plugin to use the EU Capgo Cloud host for update checks, statistics, and channel self-assignment.
What the EU host controls
Section titled “What the EU host controls”The updater plugin talks to Capgo Cloud through three endpoints:
updateUrlchecks which update is available and downloads the assigned bundle.statsUrlsends update delivery, install, failure, and rollback statistics.channelUrlreads and updates the device channel assignment throughchannel_self.
Set these complete endpoint URLs to geo-block this plugin data path to Europe:
updateUrl:https://plugin.eu.capgo.app/updatesstatsUrl:https://plugin.eu.capgo.app/statschannelUrl:https://plugin.eu.capgo.app/channel_self
When the update, stats, and channel_self requests use the EU URLs, Capgo Cloud stores the related live update data in Europe.
Capacitor updater configuration
Section titled “Capacitor updater configuration”Set the URLs in 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 updater configuration
Section titled “Electron updater configuration”The Electron updater uses the same Capgo Cloud endpoint names:
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',});Migration notes
Section titled “Migration notes”- The EU host applies to future plugin requests after users install a build with the new configuration.
- 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.
Keep going from Data Location
Section titled “Keep going from Data Location”If you are using Data Location to plan security and compliance, connect it with Compliance for privacy and retention details, Encryption for bundle protection, Channels for rollout targeting, and Settings for the updater plugin configuration reference.