Skip to content

feat!: add support for Swift Package Manager (SPM)#330

Open
mrehan27 wants to merge 5 commits intomainfrom
feature/spm-support
Open

feat!: add support for Swift Package Manager (SPM)#330
mrehan27 wants to merge 5 commits intomainfrom
feature/spm-support

Conversation

@mrehan27
Copy link
Copy Markdown
Contributor

@mrehan27 mrehan27 commented Apr 8, 2026

Summary

This PR adds support for Swift Package Manager (SPM).

Changes

Includes previously approved/merged PRs:


Note

Medium Risk
Medium risk because it refactors CI workflows and sample app build/distribution logic (including Firebase/fastlane inputs and Slack notifications), which can break release/PR build pipelines if misconfigured.

Overview
Adds SPM-based sample app support and shifts CI to treat apps/flutter_sample_spm as the primary build target, with an additional flutter_sample_cocoapods app used to verify CocoaPods compatibility.

Refactors GitHub Actions workflows to build sample apps via a parameterized reusable workflow (per-app inputs, conditional Firebase distribution, and Slack notifications only for the primary app), updates PR build comments accordingly, and keeps iOS native SDK auto-update in sync by updating ios/customer_io/Package.swift alongside pubspec.yaml.

Cleans up sample app structure by introducing apps/.gitignore, apps/README.md, analyzer excludes for apps/scripts/**, and removing legacy apps/amiapp_flutter project scaffolding while adding SPM-related ignores in the root .gitignore.

Reviewed by Cursor Bugbot for commit 26f7f58. Bugbot is set up for automated code reviews on this repo. Configure here.

@mrehan27 mrehan27 self-assigned this Apr 8, 2026
@mrehan27 mrehan27 requested a review from a team as a code owner April 8, 2026 10:54
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 8, 2026

Sample app builds 📱

Below you will find the list of the latest versions of the sample apps. It's recommended to always download the latest builds of the sample apps to accurately test the pull request.


  • flutter_sample_spm: 330.5.0 (29594095)

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