Open wasdee opened 6 months ago
sometime rastersource WMS is behind some auth. basic auth is a common one.
rastersource
WMS
I don't see any example to do this. not in docs, source code, test.
https://github.com/mapbox/mapbox-maps-flutter/blob/e3f17cdf9afb463c048842712f584d26b82845d2/example/integration_test/style/layer/raster_layer_test.dart#L19C1-L24C9
on js lib, we use transformRequest i don't know if we have api to do the same thing.
transformRequest
in order to intercept we might need to add HTTPInterceptor at swift, kt, kotlin level init(
HTTPInterceptor
swift
kt, kotlin
private fun changeUserAgent(version: String) {
Are there any news on that topic. I couldn't find the code anymore in the current main branch.
sometime
rastersource
WMS
is behind some auth. basic auth is a common one.I don't see any example to do this. not in docs, source code, test.
Closest
https://github.com/mapbox/mapbox-maps-flutter/blob/e3f17cdf9afb463c048842712f584d26b82845d2/example/integration_test/style/layer/raster_layer_test.dart#L19C1-L24C9
What is basic auth like
on js lib, we use
transformRequest
i don't know if we have api to do the same thing.