For @capacitor/share 5.0.6 "share on whatsaap" is not working after the latest 2.23.17.80 whatsapp update, it was working before the update

For @capacitor/share 5.0.6 “share on whatsaap” is not working after the latest 2.23.17.80 whatsapp update, it was working before the update.
when trying to share pdf ,pdf is not loaded in whatsapp chat, only the optional text sent as parameter to share function is loaded.

Is this on iOS or Android?
On iOS it was reported back in May and what worked was to only share the file without text as the update didn’t allow sharing both. But might be a different issue or a regression on whatsapp.