[LOCAL] Fix testing script to use debug versions of the Android APK

This commit is contained in:
Riccardo Cipolleschi
2024-09-10 08:25:26 +01:00
parent b395208303
commit 026fd325ab
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ async function testRNTesterAndroid(
exec(`unzip ${downloadPath} -d ${unzipFolder}`);
let apkPath = path.join(
unzipFolder,
`app-${argv.hermes === true ? 'hermes' : 'jsc'}-${emulatorArch}-release.apk`,
`app-${argv.hermes === true ? 'hermes' : 'jsc'}-${emulatorArch}-debug.apk`,
);
exec(`adb install ${apkPath}`);
@@ -161,13 +161,13 @@ function downloadArtifact(
async function artifactURLForJSCRNTesterAPK(
emulatorArch /*: string */,
) /*: Promise<string> */ {
return getArtifactURL('rntester-jsc-release');
return getArtifactURL('rntester-jsc-debug');
}
async function artifactURLForHermesRNTesterAPK(
emulatorArch /*: string */,
) /*: Promise<string> */ {
return getArtifactURL('rntester-hermes-release');
return getArtifactURL('rntester-hermes-debug');
}
async function artifactURLForMavenLocal() /*: Promise<string> */ {