-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ Change some URLs at execution ] #1994
Comments
I'm not sure what's the relationship between your A minimal example to explain your demand would be appreciatable, or the issue is not actionable at the moment. |
You can always pass an absolute URL to all dio calls. |
It sounds like you want to dynamically change the URLs for WebSocket (WS) calls in your Flutter app based on user login. Here's a solution brainstorm to address this situation:
Remember to follow best practices for managing configurations and ensure that sensitive information, such as API keys or secrets, is handled securely. This solution should help you adapt your app to work with different backend URLs for different entities or enterprises. |
Hi, ok my bad i'm using Retrofit over Dio and that's Retrofit that adds the .g.dart... I made the same post to retrofit repo but if you can help, any help would be apprciated ^^ |
Request Statement
Hi,
First of all, thanks for the job !
I did a "feature" post but maybe you'll tell me there's a way to achieve this that i'm not aware of...
Like said in the title i'd like to be able to change URLs for WS calls at execution...
The real situation is this :
Got on app that works well
How to achieve this please ?
Or have you got a workaround for such a situation !?
Thanks in advance.
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: