Open lucaskardo opened 5 years ago
function to add picture to storage is SLOW... need to change to something like this:
test the speed of the image load function several times. should not pass 30 seconds.
The function is actually not that slow anymore.... still a good idea to add encoding or compression
function to add picture to storage is SLOW... need to change it so it encodes the image in base64 and uses a different file upload method listed in the example bellow:
https://aws-amplify.github.io/docs/js/storage#put