File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -328,7 +328,9 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
328328 frameworkVersion : string ,
329329 projectData : IProjectData
330330 ) : Promise < void > {
331+ const packageName = projectData . nsConfig . android ?. runtimePackageName || constants . SCOPED_ANDROID_RUNTIME_NAME ;
331332 if (
333+ packageName === constants . SCOPED_ANDROID_RUNTIME_NAME &&
332334 semver . lt (
333335 frameworkVersion ,
334336 AndroidProjectService . MIN_RUNTIME_VERSION_WITH_GRADLE
@@ -518,7 +520,9 @@ export class AndroidProjectService extends projectServiceBaseLib.PlatformProject
518520 addPlatform ?: Function ,
519521 removePlatforms ?: ( platforms : string [ ] ) => Promise < void >
520522 ) : Promise < boolean > {
523+ const packageName = projectData . nsConfig . android ?. runtimePackageName || constants . SCOPED_ANDROID_RUNTIME_NAME ;
521524 if (
525+ packageName === constants . SCOPED_ANDROID_RUNTIME_NAME &&
522526 semver . eq (
523527 newVersion ,
524528 AndroidProjectService . MIN_RUNTIME_VERSION_WITH_GRADLE
You can’t perform that action at this time.
0 commit comments