@@ -190,7 +190,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
190190 public async preparePlatform ( platformInfo : IPreparePlatformInfo ) : Promise < boolean > {
191191 const platformData = this . $platformsData . getPlatformData ( platformInfo . platform , platformInfo . projectData ) ;
192192
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 ) ;
194194 const requiresNativePrepare = ( ! platformInfo . nativePrepare || ! platformInfo . nativePrepare . skipNativePrepare ) && changesInfo . nativePlatformStatus === constants . NativePlatformStatus . requiresPrepare ;
195195
196196 if ( changesInfo . hasChanges || platformInfo . appFilesUpdaterOptions . bundle || requiresNativePrepare ) {
@@ -237,7 +237,7 @@ export class PlatformService extends EventEmitter implements IPlatformService {
237237 }
238238 }
239239
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 > {
241241 this . validatePlatform ( platform , projectData ) ;
242242
243243 await this . trackProjectType ( projectData ) ;
@@ -254,7 +254,14 @@ export class PlatformService extends EventEmitter implements IPlatformService {
254254
255255 const bundle = appFilesUpdaterOptions . bundle ;
256256 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+ } ) ;
258265
259266 this . $logger . trace ( "Changes info in prepare platform:" , changesInfo ) ;
260267 return changesInfo ;
0 commit comments