You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 26, 2022. It is now read-only.
Is your feature request related to a problem? Please describe.
I cannot figure out how to override the default user-agent for iOS.
Describe the solution you'd like
I would like to extend the current user agent something as something along the format of / CFNetwork/ Darwin/
Describe alternatives you've considered
In android I can set a system property to append my application name to the user-agent string. In iOS it looks like UrlSession.shared is not configurable. I tired overriding user-agent as header and that wasn't effective. I then tried changing the UrlSession from shared to default which allowed me to pass is a then set the user-agent using a httpAdditionalHeaders on URLSessionConfiguration
Additional context
If I were to create a pr to add method to configure the User-Agent would you consider adding it to the projecT?
Is your feature request related to a problem? Please describe.
I cannot figure out how to override the default user-agent for iOS.
Describe the solution you'd like
I would like to extend the current user agent something as something along the format of / CFNetwork/ Darwin/
Describe alternatives you've considered
In android I can set a system property to append my application name to the user-agent string. In iOS it looks like UrlSession.shared is not configurable. I tired overriding user-agent as header and that wasn't effective. I then tried changing the UrlSession from shared to default which allowed me to pass is a then set the user-agent using a httpAdditionalHeaders on URLSessionConfiguration
Additional context
If I were to create a pr to add method to configure the User-Agent would you consider adding it to the projecT?