hortigado
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. hortigado
As you note, the old domain expires in 2 months and I want to change it
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...