My "device" is a laptop. You say "like Apple", but I believe Apple's CSAM is unique - nothing else tries to scan your messages between keyboard and encryption.
[Edit] I evidently don't understand your remark. If some "encryption app" processes the plaintext before it is encrypted, isn't it processing plaintext between the keyboard and the encryption?