anshumaantgi / StuBid

0 stars 0 forks source link

App Crash on Homepage #8

Open bransometan opened 1 year ago

bransometan commented 1 year ago

When using Android or IPhone 13 lower models, app crash when navigating to homepage from login OR auctioning items.

bransometan commented 1 year ago

image

Change alignItems: 'top' to alignItems: 'stretch' in descriptionContainer style. Apparently, there is no 'top' in the documentation. IPhone 13 pro in development/production seems to be able to prevent the error from occurring but will not work on other models.

bransometan commented 1 year ago

image App crash if picture is too large when auction, need to fix.

bransometan commented 1 year ago

image Solve the issue, remove 'quality : 1' from pickImage function. image As seen in photo, quality : 1, takes up a bigger size for the same image, hence maybe the size is too large which result in crash. Removing the quality reduces the image size significantly.