Hi how could I change the domain of a Flutter app in appwrite if it is already in development mode and the users have the version with the previous domain. I have thought of some ideas:
- Create a redirect to the new url and put the new url in a new version of the app. But I don't know if this will cause problems with the session of users who are already logged in with the previous url.
- Create a new appwrite project with the new url and ask the user to log in again and upon entering upload their information again since I manage offline first. Which idea do you think is correct or which other do you think is appropriate. Thank you
TL;DR
The developer wants to change the domain of their Flutter app on Appwrite. They are considering two options:
1. Create a redirect to the new URL and update the app with the new URL. However, they are concerned about potential session problems for users who are already logged in with the previous URL.
2. Create a new Appwrite project with the new URL and ask users to log in again, uploading their information since offline functionality is managed.
Solution: The developer should consider option 1 and ensure that session handling is properly managed to avoid any issues. They should thoroughly test the app to confirm that the redirect and session handling work correctly.As you note, the old domain expires in 2 months and I want to change it
Recommended threads
- Function for long running task (other 60...
My function need long running other 60 seconds. But async mode return empty body. How to deal with that please ?
- OAuth2 Provider is disabled automaticall...
Hi everyone, I'm using self-host Appwrite 1.7.4. I can setup OAuth2 with Google successfully, however the provider is disabled automatically after one day witho...
- Attach Dart debugger for locally deploye...
Hello there, I was wondering if it is possible to attach debugger to dart function, that I run locally. It would make development much easier :-). Thank you.