Skip to content

Bump flutter_fgbg to ^0.8.0 for Swift Package Manager support - #216

Open
MarcinusX wants to merge 2 commits into
segmentio:mainfrom
cheddar-me:bump-flutter-fgbg-0.8.0
Open

Bump flutter_fgbg to ^0.8.0 for Swift Package Manager support#216
MarcinusX wants to merge 2 commits into
segmentio:mainfrom
cheddar-me:bump-flutter-fgbg-0.8.0

Conversation

@MarcinusX

Copy link
Copy Markdown

flutter_fgbg 0.8.0 (released 2026-03-30) adds a Swift Package Manager manifest (ios/flutter_fgbg/Package.swift) with no API changes — its changelog entry is just "Swift package manager migration".

Since #202/#203 added SPM support to the core plugin, flutter_fgbg 0.7.1 is the only transitive dependency of segment_analytics that still lacks a Swift package, so host apps building with Flutter's SPM integration still fall back to CocoaPods for it. Bumping the constraint to ^0.8.0 removes that last CocoaPods requirement.

MarcinusX and others added 2 commits August 25, 2026 10:56
…s-kotlin

The core plugin declared namespace 'com.segment.analytics', which is also
the manifest package of com.segment.analytics.kotlin:android. When both end
up in an app's dependency graph (e.g. via an SDK that embeds analytics-kotlin),
AGP 9 fails the build with a duplicate-namespace manifest-merger error.
Rename to com.segment.analytics.flutter and drop the deprecated manifest
package= attribute. Dart API and Kotlin source packages are unchanged.

Fixes segmentio#214

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
flutter_fgbg 0.8.0 ships an SPM manifest (ios/flutter_fgbg/Package.swift); 0.7.1 was the last CocoaPods-only transitive dependency of the core plugin, which forced host apps building with SPM back onto CocoaPods for it.
@MarcinusX MarcinusX closed this Aug 26, 2026
@MarcinusX
MarcinusX deleted the bump-flutter-fgbg-0.8.0 branch August 26, 2026 12:47
@MarcinusX
MarcinusX restored the bump-flutter-fgbg-0.8.0 branch August 26, 2026 12:47
@MarcinusX MarcinusX reopened this Aug 26, 2026
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.

1 participant