feat(android): support self-host & multi channels (#12095)

This commit is contained in:
Aki Chang
2025-05-06 16:13:20 +08:00
committed by GitHub
parent 88ceeba5b6
commit 24f52ed649
16 changed files with 225 additions and 191 deletions

View File

@@ -53,14 +53,10 @@ android {
}
flavorDimensions = ['chanel']
productFlavors {
stable {
buildConfigField 'String', 'BASE_URL', '"https://app.affine.pro"'
resValue 'string', 'host', '"app.affine.pro"'
}
canary {
buildConfigField 'String', 'BASE_URL', '"https://affine.fail"'
resValue 'string', 'host', '"affine.fail"'
}
stable
beta
internal
canary
}
compileOptions {