Skip to content

feat(auth): add Swift Package Manager support to amplify_auth_cognito#6847

Open
ekjotmultani wants to merge 4 commits intomainfrom
feat/spm-amplify-auth-cognito
Open

feat(auth): add Swift Package Manager support to amplify_auth_cognito#6847
ekjotmultani wants to merge 4 commits intomainfrom
feat/spm-amplify-auth-cognito

Conversation

@ekjotmultani
Copy link
Copy Markdown
Member

@ekjotmultani ekjotmultani commented Apr 6, 2026

Issue #, if available:
#6796
#6838

Description of changes:
Cocoapods will be read only soon, this PR brings the secure storage package into SPM. Following this guide from Flutter

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Apr 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 43.22%. Comparing base (e19b69c) to head (b3ba038).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6847   +/-   ##
=======================================
  Coverage   43.22%   43.22%           
=======================================
  Files          99       99           
  Lines        7769     7769           
  Branches     3400     3400           
=======================================
  Hits         3358     3358           
  Misses       4411     4411           
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@ekjotmultani ekjotmultani changed the title feat(auth): add Swift Package Manager support to amplify_auth_cognito… feat(auth): add Swift Package Manager support to amplify_auth_cognito Apr 6, 2026
…\n\nMigrate amplify_auth_cognito darwin plugin to support Swift Package Manager\nwhile maintaining backward compatibility with CocoaPods.\n\nChanges:\n- Add Package.swift for SPM support\n- Move Swift sources from darwin/Classes/ to darwin/amplify_auth_cognito/Sources/amplify_auth_cognito/\n- Update podspec source_files to point to new paths\n- Update Pigeon swiftOut path for new directory structure\n- Add .build/ and .swiftpm/ to .gitignore"
…Flutter CLI automatically migrated the example app's Xcode project\nto include Swift Package Manager integration when building with\nSPM enabled."
Revert the example app's project.pbxproj, xcscheme, AppDelegate,
and AppFrameworkInfo changes that were auto-generated by Flutter's
SPM migration. These changes cause CI failures when SPM is not
enabled on the runner, since the FlutterFramework ephemeral package
doesn't exist. Flutter will migrate the example project on-the-fly
when SPM is enabled."
@ekjotmultani ekjotmultani force-pushed the feat/spm-amplify-auth-cognito branch from f34c689 to b3ba038 Compare April 10, 2026 21:32
@ekjotmultani ekjotmultani marked this pull request as ready for review April 13, 2026 15:20
@ekjotmultani ekjotmultani requested a review from a team as a code owner April 13, 2026 15:20
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.

3 participants