When you open the app for the first time, it works properly, showing the photos in the order that was present in the database at the time. Then you can reorder the photos within the edit profile page. However, once you try to save that and go back in, it does not have the order you saved, but instead the original order. This is very strange because the database commands for saving the profile are working properly, and the correct pre-signed urls are sent from the server. It is simply something strange with the display/initialization on the flutter side of things.
Steps to reproduce
Open application2.
Navigate to profile page.
Click edit profile icon.
Reorder photos5.
Save and exit page6.
Click on edit profile icon again
Photos will be in the wrong order in the list.
What is the expected correct behavior?
Instead the photos should be in the correct order that was just saved prior.
Environment
android studio + flutter
visual studio code + nodejs
google pixel emulator for android.
Summary
When you open the app for the first time, it works properly, showing the photos in the order that was present in the database at the time. Then you can reorder the photos within the edit profile page. However, once you try to save that and go back in, it does not have the order you saved, but instead the original order. This is very strange because the database commands for saving the profile are working properly, and the correct pre-signed urls are sent from the server. It is simply something strange with the display/initialization on the flutter side of things.
Steps to reproduce
What is the expected correct behavior?
Instead the photos should be in the correct order that was just saved prior.
Environment
android studio + flutter visual studio code + nodejs google pixel emulator for android.
Possible fixes