Allow flutter_fgbg 0.8.0
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Find the flutter_fgbg dependency declaration and inspect the repository's existing dependency or compatibility checks. Test package resolution with the current minimum Dart SDK and with Dart 3.8+; done means newer projects resolve flutter_fgbg 0.8.0 while older supported SDKs resolve a compatible 0.7.x release.
Written by the indexing model from the issue text.
Description
I’m targeting Flutter 3.44.9 with Dart 3.12.2 and Swift Package Manager enabled.
I understand that changing the dependency directly to:
flutter_fgbg: ^0.8.0
would require Dart 3.8+ and drop support for older Flutter versions.
Could the constraint instead be widened to support both releases?
flutter_fgbg: ">=0.7.1 <0.9.0"
Pub should then resolve:
- flutter_fgbg 0.8.0 on Dart 3.8+, enabling SPM support.
- A compatible 0.7.x release on older Dart SDKs, preserving existing Flutter support.
Verification
I tested the Segment SPM branch at commit 3b99cafd with:
dependency_overrides:
flutter_fgbg: 0.8.0
On Flutter 3.44.9:
- flutter_fgbg disappeared from the SPM warning.
- Both segment_analytics and flutter_fgbg were integrated through SwiftPM.
Requested outcome
Please consider widening the dependency range and testing resolution against both the current minimum Dart SDK and Dart 3.8+. This should allow newer applications to use SPM without requiring an immediate minimum Flutter version increase for all users.
- Dominant language
- Dart
- Stars
- 33
- Forks
- 57
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from segmentio/analytics_flutter
-
Android build fails under AGP 9 when analytics-kotlin is also in the dependency graph: duplicate namespace 'com.segment.analytics'Possibly taken @MarcinusX claimed this 41 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
segmentio/analytics_flutter#214 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
segmentio/analytics_flutter#204 · 1 reaction ·
-
[Web] getExistingAnonymousId does not decode JSON-stringified ajs_anonymous_id from localStoragePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
segmentio/analytics_flutter#196 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 50/100
segmentio/analytics_flutter#209 · 1 comment ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
segmentio/analytics_flutter#199 ·
All issues in segmentio/analytics_flutter
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
linagora/twake-on-matrix#3435 ·
Maintainers usually reply within 3 days
-
右下角的图标问题Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
[Domain Activation] Show a user-friendly error when sending is blocked pending domain activationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
linagora/tmail-flutter#4953 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
genkit-ai/genkit-dart#587 ·
Maintainers usually reply within 1 day