File tree Expand file tree Collapse file tree
packages/cli/src/lib/cmds Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,9 +111,9 @@ class Build {
111111 async signApk ( signingKey : SigningKeyInfo , passwords : SigningKeyPasswords ) : Promise < void > {
112112 await this . androidSdkTools . apksigner (
113113 signingKey . path ,
114- passwords . keystorePassword ,
114+ `" ${ passwords . keystorePassword } "` ,
115115 signingKey . alias ,
116- passwords . keyPassword ,
116+ `" ${ passwords . keyPassword } "` ,
117117 APK_ALIGNED_FILE_NAME , // input file path
118118 APK_SIGNED_FILE_NAME ,
119119 ) ;
@@ -124,8 +124,12 @@ class Build {
124124 }
125125
126126 async signAppBundle ( signingKey : SigningKeyInfo , passwords : SigningKeyPasswords ) : Promise < void > {
127- await this . jarSigner . sign ( signingKey , passwords . keystorePassword , passwords . keyPassword ,
128- APP_BUNDLE_BUILD_OUTPUT_FILE_NAME , APP_BUNDLE_SIGNED_FILE_NAME ) ;
127+ await this . jarSigner . sign (
128+ signingKey ,
129+ `"${ passwords . keystorePassword } "` ,
130+ `"${ passwords . keyPassword } "` ,
131+ APP_BUNDLE_BUILD_OUTPUT_FILE_NAME ,
132+ APP_BUNDLE_SIGNED_FILE_NAME ) ;
129133 }
130134
131135 /**
You can’t perform that action at this time.
0 commit comments