品牌变体会快速增长
每个客户都想有自己的 logo、主题、特性标志、内容、合规文本和发布时间
问题
每个客户都想有自己的 logo、主题、特性标志、内容、合规文本和发布时间
商店评论会拖慢租户修复
One global update can break every brand at once. One fork per brand makes the team slow. The release model needs a middle path.
具体模型
一个B2B SaaS客户获得自己的Logo、主题、引导文案和特性标志,而不强制每个其他客户都更新到相同的版本
每个餐厅、诊所、健身房或分支机构都可以接收到本地菜单、资产、推广屏幕和内容更新,而不需要新的二进制文件
一个主应用可以列出批准的小应用或客户工作区,并在运行时切换到匹配的Capgo频道
实现示例
使用相同的Capacitor外壳为每个租户。发布租户特定的Web包到Capgo频道,然后让应用从登录、组织选择或内部管理员屏幕切换到正确的频道
# Publish tenant-specific web bundles from the same app
npx @capgo/cli@latest bundle upload --channel acme
npx @capgo/cli@latest bundle upload --channel globex
npx @capgo/cli@latest bundle upload --channel north-branch
import { CapacitorUpdater } from '@capgo/capacitor-updater'
export async function switchTenant(channel: string) {
await CapacitorUpdater.setChannel({ channel })
const latest = await CapacitorUpdater.getLatest()
const bundle = await CapacitorUpdater.download({
url: latest.url,
version: latest.version,
})
await CapacitorUpdater.set({ id: bundle.id })
}
解决方案
Capgo 模型保持原生应用程序稳定,并通过受控通道将品牌特定的 Web 体验推送出去。
为每个租户、分公司、工作空间、客户或应用程序变体创建一个通道。仅推送该品牌应接收的捆绑包。
在安全时推送一个共享修复到每个通道,或者将一个发布孤立到一个客户时,当变化是特定的。
如果一个租户特定的捆绑包出现问题,回滚该通道而不影响其他品牌应用程序。
使用构建器创建一个新的原生壳时,图标、权限、插件或商店元数据发生变化。使用OTA更新品牌内容时,内容每周都会发生变化。
发布模型
When each tenant has a clear release channel and can be monitored independently, white-label operations become manageable.
Instead of rebuilding them for each customer, keep shared auth, analytics, billing, navigation, and native plugins in one Capacitor app.
Map each customer, franchise, location, or workspace to a Capgo channel with its own update history and release schedule.
Ship customer-specific JavaScript, CSS, assets, config, content, and experiments without app store review.
Promote proven changes to more users, pause risky rollouts, or roll back only the tenant that needs it.
User feedback
The key users repeat is control. They want tenant 42 to get its urgent fix today without affecting tenant 1, tenant 7, and every app store listing at the same time.
普通白标客户反馈
Capacitor构建的应用
区域体育、娱乐和电信品牌可以重用一个应用基础,同时改变每个品牌或国家的日程、营销活动、支持和市场特定内容
体育
地区体育媒体应用,节目表和当地内容需要市场控制。
娱乐
娱乐指南,内容根据市场和节目窗口而有所不同。
工具
运营商应用,仍需要本地产品和支持内容的共享账户模式。