feat(android): android internal testing (#8577)

This commit is contained in:
Brooooooklyn
2024-10-30 12:18:00 +00:00
parent fffd60d84c
commit 58c7e3913d
19 changed files with 444 additions and 35 deletions
@@ -1,3 +1,5 @@
import { join } from 'node:path';
import type { CapacitorConfig } from '@capacitor/cli';
const config: CapacitorConfig = {
@@ -6,6 +8,13 @@ const config: CapacitorConfig = {
webDir: 'dist',
android: {
path: 'App',
buildOptions: {
keystorePath: join(__dirname, 'affine.keystore'),
keystorePassword: process.env.AFFINE_ANDROID_KEYSTORE_PASSWORD,
keystoreAlias: 'key0',
keystoreAliasPassword: process.env.AFFINE_ANDROID_KEYSTORE_ALIAS_PASSWORD,
releaseType: 'AAB',
},
},
};