holtzmak / Humane-Transport

A Flutter and Firebase mobile application to record Canadian animal transport and transfer of care documentation
https://sanakhan1997.github.io/Humane-Transport/
GNU General Public License v3.0
6 stars 3 forks source link

Completed saving image to storage #226

Closed MummenRider closed 3 years ago

MummenRider commented 3 years ago

The Permission setup in this commit is for iOS only. Another PR will be open for android setup. I also added todo for sign up page because of the changes made in Transporter model.

Note: I did not use the Image picker screen in this task. The image picker I used is inside the viewmodel itself. The tutorial I followed for this task is created by Andy

https://user-images.githubusercontent.com/43891568/111886949-5d1a3e00-8997-11eb-9485-8829e0b7b66b.mov

MummenRider commented 3 years ago

As per @holtzmak 's suggestion, duplication of avatar image is resolved. Please watch the video below

https://user-images.githubusercontent.com/43891568/111891043-01f74400-89b5-11eb-8616-127172dc755f.mov

Another change: If user didn't upload his/her image or if avatar failed to load, then the default image will be used. Please watch the video below.

https://user-images.githubusercontent.com/43891568/111891064-3f5bd180-89b5-11eb-9f9b-e5e84ebeb06c.mov