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
- 1.6.2 to 1.7.0
Hi everyone. I am running a self-hosted Appwrite server on version 1.6.2. What is the safest way to migrate to the next version? Should I update directly to...
- Exception: Route not found when calling ...
I have self-hosted v1.8.1 and I am using an Appwrite function with node-appwrite v22. When I call the createVarcharColumn() in my server function I get this exc...
- Document created without ID in console
Hi team, I’m experiencing an issue in the Appwrite console. When I create a document in a collection via the **Collections UI**, the document gets created **wi...