Skip to content

Commit 5f6e26c

Browse files
Add Android isolated test
1 parent 3405eb6 commit 5f6e26c

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

demos/example-capacitor/android/app/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ android {
2020
release {
2121
minifyEnabled false
2222
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
23-
signingConfig signingConfigs.debug
2423
}
2524
}
2625
}
2.6 KB
Binary file not shown.

demos/example-capacitor/capacitor.config.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@
99
}
1010
},
1111
"android": {
12-
"loggingBehavior": "production"
12+
"loggingBehavior": "production",
13+
"buildOptions": {
14+
"releaseType": "APK",
15+
"keystorePath": "debug-isolated.keystore",
16+
"keystorePassword": "android",
17+
"keystoreAlias": "androiddebugkey",
18+
"keystoreAliasPassword": "android"
19+
}
1320
},
1421
"ios": {
1522
"loggingBehavior": "production"

demos/example-capacitor/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"sync": "npx cap sync",
1515
"ios": "pnpm build && pnpm sync && npx cap run ios",
1616
"android": "pnpm build && pnpm sync && npx cap run android",
17+
"test:build": "pnpm build && npx cap sync && npx cap build android",
1718
"start": "vite",
1819
"build": "vite build",
1920
"preview": "vite preview"

0 commit comments

Comments
 (0)