File tree 3 files changed +5
-3
lines changed
3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
import { IProjectData } from "../definitions/project" ;
2
- import { IMigrateController } from "../definitions/migrate" ;
2
+ import { IMigrateController , IMigrationData } from "../definitions/migrate" ;
3
3
import { ICommand , ICommandParameter } from "../common/definitions/commands" ;
4
4
import { injector } from "../common/yok" ;
5
5
@@ -17,7 +17,7 @@ export class MigrateCommand implements ICommand {
17
17
}
18
18
19
19
public async execute ( args : string [ ] ) : Promise < void > {
20
- const migrationData = {
20
+ const migrationData : IMigrationData = {
21
21
projectDir : this . $projectData . projectDir ,
22
22
platforms : [
23
23
this . $devicePlatformsConstants . Android ,
Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ import { injector } from "../yok";
5
5
export class EmulatorHelper implements Mobile . IEmulatorHelper {
6
6
// https://developer.android.com/guide/topics/manifest/uses-sdk-element
7
7
public mapAndroidApiLevelToVersion = {
8
+ "android-31" : "12.0.0" ,
9
+ "android-30" : "11.0.0" ,
8
10
"android-29" : "10.0.0" ,
9
11
"android-28" : "9.0.0" ,
10
12
"android-27" : "8.1.0" ,
Original file line number Diff line number Diff line change @@ -331,7 +331,7 @@ export class MigrateController
331
331
shouldMigrate = await this . _shouldMigrate ( {
332
332
projectDir,
333
333
platforms : remainingPlatforms ,
334
- loose : loose ,
334
+ loose,
335
335
} ) ;
336
336
this . $logger . trace (
337
337
`Executed shouldMigrate for platforms: ${ remainingPlatforms } . Result is: ${ shouldMigrate } `
You can’t perform that action at this time.
0 commit comments