Hello flutter gang! I'm posting this after doing tonnes of searching and research and seeing that no one seems to have solved the issue for something that seems like it would need to be solved for anyone that's made some sort of TikTok or Instagram style feed.
When you upload a video file on Android using FlutterFlow's component, it uploads the raw video size. I.e. if you take a 30 second video on your Android Phone, without compression, a 30second file is often over 100MB.
iOS on the other hand, before it uploads the file, automatically does on-device compression for the file making it a manageable size on its own, in the same way that Whatsapp or whatever does it before uploading and sending.
How can we compress the video file size before uploading to Firebase? The enormous file sizes, especially if it's like a feed of 10 videos can suddenly cause a 2GB Download spike from Firebase and often crashes my app.