Skip to content

Commit

Permalink
Simulator: Fix copy to device for Android (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrules44 authored Oct 8, 2022
1 parent ba5abf4 commit a0e5f7e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion platform/mac/AndroidAppBuildController.mm
Original file line number Diff line number Diff line change
Expand Up @@ -947,7 +947,14 @@ -(BOOL)areKeystoreAndAliasPasswordsValid:(const char *)keyStore keyPW:(const cha

- (NSString*)appExtension
{
return @"aab";
BOOL shouldSendToDevice = ([postBuildRadioGroup selectedRow] == 0); // first item in radio group

//Use apk extension for sending app to device
if(shouldSendToDevice){
return @"apk";
}else{
return @"aab";
}
}

-(void)sheetDidEnd:(NSWindow*)sheet returnCode:(NSInteger)returnCode contextInfo:(void *)contextInfo
Expand Down

0 comments on commit a0e5f7e

Please sign in to comment.