mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL] Fix testing script to use debug versions of the Android APK
This commit is contained in:
@@ -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> */ {
|
||||
|
||||
Reference in New Issue
Block a user