Open pchlupacek opened 4 months ago
Hi Reveal Team, can you please evaluate whether you need more input on this feature request ? Thank you !
We do not need more information. If you're just looking for an update, this feature has not been planned for implementation at this time. If/when this feature is accepted, we will update this issue.
Is your feature request related to a problem? Please describe. Currently the RevealSdkSettings.setBaseUrl accepts the string as the url where reveal backend is running. In some client environments the URL may have dynamic nature (i.e. pointing to specific geo data center based on the data center status).
In such scenarios provider with asynchronous signature (i.e. provider: Promise)will be super helpful b/c it will allow to query current url for any reveal SDK request, before that request will be send to reveal backend.
Describe the solution you'd like A clear and concise description of what you want to happen.
add RevealSdkSettings.setBaseUrlProvider(provider: Promise) to RevealSdkSettings.
Describe alternatives you've considered Currently we run a timer/custom logic to detect the change in URL and always call RevealSdkSettings.setBaseUrl when needed.
Additional context