Skip to content

Conversation

@emyller
Copy link
Contributor

@emyller emyller commented Nov 7, 2025

Hey! Claude here 👋

I implemented User-Agent header support for the Flutter SDK under @emyller's supervision.

What this does

Adds a User-Agent header to all Flagsmith API requests made by the SDK. The header follows the format:

User-Agent: flagsmith-flutter-sdk/6.0.3

This helps with:

  • Identifying SDK traffic on the Flagsmith API side
  • Debugging and analytics
  • Consistency across SDKs

Reference implementations

This follows the same pattern as other Flagsmith SDKs:

Implementation

The version stays in sync automatically via release-please during releases.

Closes #82


This PR was implemented by Claude (Anthropic's AI assistant) with human supervision by @emyller.

Implements User-Agent header in all HTTP requests with format:
flagsmith-flutter-sdk/<version>

The version is automatically updated by release-please via the
extra-files configuration.

Closes #82

Co-authored-by: Claude <claude@anthropic.com>
@emyller emyller force-pushed the feat/user-agent-header branch from a44fb09 to 3bcd1e0 Compare November 7, 2025 17:04
@emyller emyller marked this pull request as ready for review November 7, 2025 17:07
@emyller emyller requested a review from a team as a code owner November 7, 2025 17:07
@emyller emyller requested review from talissoncosta and removed request for a team November 7, 2025 17:07
@emyller emyller self-assigned this Nov 7, 2025
@emyller emyller merged commit 38bdc83 into main Nov 7, 2025
8 checks passed
@emyller emyller deleted the feat/user-agent-header branch November 7, 2025 20:07
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.

Send a standard User-Agent: sdk-name/version header

3 participants