if you want to transfer a file from iPhone to Android (or Android to iPhone), then there basically isn’t any options.
Back before I got my iPhone I remember transferring files from my Android to and from my iPad and MacBook. This was back in 2019 so I cannot recall exactly how it was done, but it was some Bluetooth thing I did.