Skip to content

feat: migrate to Swift Package Manager - #40

Open
anderscheow wants to merge 2 commits into
w3connext:mainfrom
anderscheow:main
Open

anderscheow wants to merge 2 commits into
w3connext:mainfrom
anderscheow:main

Conversation

@anderscheow

@anderscheow anderscheow commented May 5, 2026 •

Copy link
Copy Markdown

Migrate the package from Cocoapods to Swift Package Manager

Fixes #39

Anders Cheow and others added 2 commits May 5, 2026 12:49
Forked from w3connext/jailbreak_root_detection 1.2.0+1 and republished under
a new name so it can be installed alongside the original without colliding.
The Dart API is unchanged.

Renames:
* Package, library entrypoint and method channel -> jailbreak_root_detection_plus
* Android Kotlin package -> com.w3conext.jailbreak_root_detection_plus
* iOS Swift package dir -> ios/jailbreak_root_detection_plus

Android:
* Migrate to built-in Kotlin; stop applying the Kotlin Gradle Plugin, which
  AGP 9.0+ requires
* AGP 9.0.1, Kotlin 2.3.20, Gradle 9.1.0
* compileSdk 34 -> 36, Java/Kotlin JVM target 11 -> 17; minSdk stays at 21
* Drop android.enableJetifier and the manifest package attribute (removed in AGP 9)
* RootBeer 0.1.1 -> 0.1.2

iOS:
* Support both Swift Package Manager and CocoaPods (new podspec)
* Declare the FlutterFramework SPM dependency required by Flutter 3.44+
* Deployment target 12.0 -> 13.0
* IOSSecuritySuite 1.9.10 -> 2.3.0 (SPM) / 2.2.0 (CocoaPods)
* Restore the .build/ ignore rule and ignore Package.resolved

Requires Flutter 3.44 / Dart 3.12 or newer.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

Add Swift Package Manager support

1 participant