1.0 User cancel on ProfileViewController, delete image from FirebaseStorage or User Account could fail and we could not cancel again. Only can go forward or open the app again
1.1 If user cancel on ProfileEditController, Profile's image was already changed in FirebaseStorage which is wrong
Need to fix:
User chooses an image from Library
Keep image
1.0 User cancel on ProfileViewController, go to CreateAccountViewController without uploading image
2.0 If user did not set an image when creating an account, ProfileEditController did not load because there's no image to download
2.1 If user cancel on ProfileEditController, go to SettingsTableViewController without saving any data to Firebase
Try to save first/lastname, if succeed then try to upload and save image's profile
@chrisfsampaio need ideas ):
Now:
1.0 User cancel on
ProfileViewController
, delete image from FirebaseStorage or User Account could fail and we could not cancel again. Only can go forward or open the app again 1.1 If user cancel onProfileEditController
, Profile's image was already changed in FirebaseStorage which is wrongNeed to fix:
ProfileViewController
, go to CreateAccountViewController without uploading image 2.0 If user did not set an image when creating an account, ProfileEditController did not load because there's no image to download 2.1 If user cancel onProfileEditController
, go to SettingsTableViewController without saving any data to Firebase