Skip to content

fix: migration failures found on the enterprise plugins - #42

Merged
ItsChaceD merged 2 commits into
mainfrom
fix/RMET-5294/migration-edge-cases
Nov 5, 2026
Merged

ItsChaceD merged 2 commits into
mainfrom
fix/RMET-5294/migration-edge-cases

Conversation

@ItsChaceD

Copy link
Copy Markdown
Contributor

Description

Fixes five problems found migrating the enterprise plugins:

  • AGP is updated before the Gradle wrapper task, which runs on the new Gradle and can't load AGP 8.
  • @rollup/plugin-node-resolve moves to 16, since older versions only support rollup 2.
  • .upToNextMajor(from:) is unwrapped before the Capacitor SPM version is replaced, instead of leaving an extra ).
  • The Package.swift iOS version is only raised, so Intune keeps 17.
  • When Cordova is the last SPM product, the comma before it goes too.

Tested by migrating SSL Pinning, Intune, Apple Pay, Google Pay and Auth Connect.

Change Type

  • Fix
  • Feature
  • Refactor
  • Breaking Change
  • Documentation
  • Other (CI, chores, etc.)

Rationale / Problems Fixed

https://outsystemsrd.atlassian.net/browse/RMET-5294

Platforms Affected

  • Android
  • iOS
  • Web

@alexgerardojacinto alexgerardojacinto left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! My only suggestion would be to maybe add tests for the new packageSwiftText.replace calls

@ItsChaceD
ItsChaceD merged commit b8c4549 into main Nov 5, 2026
1 check passed
@ItsChaceD
ItsChaceD deleted the fix/RMET-5294/migration-edge-cases branch November 5, 2026 20:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants