Skip to content

Commit 93c17d8

Browse files
committed
fix(android): support unsigned apks
1 parent 52fb336 commit 93c17d8

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)