Closed alokyadavmdt closed 2 years ago
There is no way to edit the .env file within the assets bundle. Perhaps you can copy the file to the applications directory and use that file as the .env file, or use another package such as shared_preferences to store the user input.
Closing due to question being answered. Can re open if a feature request or similar required
Is there a way that key in .env can be updated. I have a scenario where when app runs first time then the user enter the server info and that i need to save to env file so next time its not required.
As i checked i didnt find any method which can update the file at runtime