How will it being open source guarantee you that the app you downloaded from the platform's store is using the exact same code?
Having this, Whatsapp would be subject to having their app disassembled and checked against the source. Sure, they could modify the executable, but it's a PR liability for them.