That would allow us to just download the file when installing the apk.
Is downloading the archive and extracting it not an option? You can:
- Get the latest version from the end of
https://ipfs.io/ipns/dist.ipfs.io/go-ipfs/versions
. - Figure out the right dist archive for your current architecture/os by reading
https://ipfs.io/ipns/dist.ipfs.io/go-ipfs/$version/dist.json
- Download the archive.
- Extact the ipfs binary from the archive (there are java based tar.gz extractors).