Skip to content

fix: Use app User-Agent#187

Merged
tevincent merged 1 commit into
mainfrom
use-app-useragent
May 19, 2026
Merged

fix: Use app User-Agent#187
tevincent merged 1 commit into
mainfrom
use-app-useragent

Conversation

@tevincent
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 19, 2026 14:06
@tevincent tevincent enabled auto-merge May 19, 2026 14:07
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Switches the user-agent supplied to AuthenticatorFacade from an app-built string (via buildUserAgent) to the shared HttpUtils.getUserAgent from the core network module, ensuring the app uses the standard Infomaniak user-agent.

Changes:

  • Removed the providesUserAgent Hilt provider and its buildUserAgent import.
  • Inlined HttpUtils.getUserAgent directly into provideAuthenticatorFacade, removing the @UserAgent injection.
  • Reorganized imports accordingly.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread app/src/main/kotlin/com/infomaniak/auth/di/ApplicationModule.kt
@tevincent tevincent force-pushed the use-app-useragent branch from d7fbbc4 to dec7867 Compare May 19, 2026 14:31
@sonarqubecloud
Copy link
Copy Markdown

@tevincent tevincent merged commit 2a42361 into main May 19, 2026
9 checks passed
@tevincent tevincent deleted the use-app-useragent branch May 19, 2026 14:34
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