Replies: 3 comments 3 replies
-
I think this is possible, let me have a look. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@louwers Hi Bart, thanks for looking into this, but the ticket you linked doesn't help. I had seen it too when searching the issues, but it appears that MLNNetworkManager is not public, so I can't access it from my code... So by looking into the source code, I can see that it is used (see |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I am using MapLibre with MapTiler and they offer a way to secure their API key by doing some filtering the user-agent HTTP header.
I couldn't find any way to update the User-Agent for the requests that the MapLibre SDK is sending :/
I tried to add this in my application delegate that implements the
MLNNetworkConfigurationDelegate
:This is called, but the User-Agent is still the default one:
`User-Agent: TestMapLibre/1.0 MapLibre/6.6.0 MapLibreNative/0.0.0 (NOT SET) iOS Simulator/18.0.0 (arm64)``
How can we update this HTTP field?
Beta Was this translation helpful? Give feedback.
All reactions