@@ -190,7 +190,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
190
190
public async preparePlatform ( platformInfo : IPreparePlatformInfo ) : Promise < boolean > {
191
191
const platformData = this . $platformsData . getPlatformData ( platformInfo . platform , platformInfo . projectData ) ;
192
192
193
- const changesInfo = await this . initialPrepare ( platformInfo . platform , platformData , platformInfo . appFilesUpdaterOptions , platformInfo . platformTemplate , platformInfo . projectData , platformInfo . config , platformInfo . nativePrepare ) ;
193
+ const changesInfo = await this . initialPrepare ( platformInfo . platform , platformData , platformInfo . appFilesUpdaterOptions , platformInfo . platformTemplate , platformInfo . projectData , platformInfo . config , platformInfo . nativePrepare , platformInfo ) ;
194
194
const requiresNativePrepare = ( ! platformInfo . nativePrepare || ! platformInfo . nativePrepare . skipNativePrepare ) && changesInfo . nativePlatformStatus === constants . NativePlatformStatus . requiresPrepare ;
195
195
196
196
if ( changesInfo . hasChanges || platformInfo . appFilesUpdaterOptions . bundle || requiresNativePrepare ) {
@@ -237,7 +237,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
237
237
}
238
238
}
239
239
240
- private async initialPrepare ( platform : string , platformData : IPlatformData , appFilesUpdaterOptions : IAppFilesUpdaterOptions , platformTemplate : string , projectData : IProjectData , config : IPlatformOptions , nativePrepare ?: INativePrepare ) : Promise < IProjectChangesInfo > {
240
+ private async initialPrepare ( platform : string , platformData : IPlatformData , appFilesUpdaterOptions : IAppFilesUpdaterOptions , platformTemplate : string , projectData : IProjectData , config : IPlatformOptions , nativePrepare ?: INativePrepare , skipNativeCheckOptions ?: ISkipNativeCheckOptional ) : Promise < IProjectChangesInfo > {
241
241
this . validatePlatform ( platform , projectData ) ;
242
242
243
243
await this . trackProjectType ( projectData ) ;
@@ -254,7 +254,14 @@ export class PlatformService extends EventEmitter implements IPlatformService {
254
254
255
255
const bundle = appFilesUpdaterOptions . bundle ;
256
256
const nativePlatformStatus = ( nativePrepare && nativePrepare . skipNativePrepare ) ? constants . NativePlatformStatus . requiresPlatformAdd : constants . NativePlatformStatus . requiresPrepare ;
257
- const changesInfo = await this . $projectChangesService . checkForChanges ( platform , projectData , { bundle, release : appFilesUpdaterOptions . release , provision : config . provision , teamId : config . teamId , nativePlatformStatus } ) ;
257
+ const changesInfo = await this . $projectChangesService . checkForChanges ( platform , projectData , {
258
+ bundle,
259
+ release : appFilesUpdaterOptions . release ,
260
+ provision : config . provision ,
261
+ teamId : config . teamId ,
262
+ nativePlatformStatus,
263
+ skipModulesNativeCheck : skipNativeCheckOptions . skipModulesNativeCheck
264
+ } ) ;
258
265
259
266
this . $logger . trace ( "Changes info in prepare platform:" , changesInfo ) ;
260
267
return changesInfo ;
0 commit comments