WhatsApp on iOS does backup all history, allowing you to transfer it to a new iOS device.
Transferring history between iOS and Android is a work in progress, it works now from iPhone to Samsung devices (for reasons I don’t really understand), general support is supposed to be rolled out the coming months.