Skip to content

Commit 32d3a0f

Browse files
authored
fix(android): support unsigned apks (#5706)
1 parent 8d97779 commit 32d3a0f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lib/services/android-project-service.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -242,11 +242,7 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
242242
],
243243
regexes: [
244244
new RegExp(
245-
`${constants.APP_FOLDER_NAME}-.*-(${Configurations.Debug}|${Configurations.Release})${constants.APK_EXTENSION_NAME}`,
246-
"i"
247-
),
248-
new RegExp(
249-
`${packageName}-.*-(${Configurations.Debug}|${Configurations.Release})${constants.APK_EXTENSION_NAME}`,
245+
`(${packageName}|${constants.APP_FOLDER_NAME})-.*-(${Configurations.Debug}|${Configurations.Release})(-unsigned)?${constants.APK_EXTENSION_NAME}`,
250246
"i"
251247
),
252248
],

0 commit comments

Comments
 (0)