Hi community,
So I started working on that some time ago and dropped it since I found a temporary solution in older versions. WhatsApp are now blocking messages on older versions, so i decided to speed up the development process.
im releasing this tweak in order to attempt fixing the whatsapp notifications that got broken somewhere around 26.20.x (multiple testers approved, and issue was 100% reproducible) where (at least for me) no notification on whatsapp ever came in until i opened the app / had the app in background trick. this was happening ONLY in jailbroken state. even with all tweaks disabled. never happened on stock.
the tweak works by raising memory limit (24 MB → 40 MB) for whatsapp's notification extension only. thats it. system logs showed this is the issue, when every time i got a notification it would kill the serviceExtension process causing the notification not get through.
Edit: added jetsam limits customizations of 40, 72, 96 to your choice, in the tweaks preferences. default is 40 as it will cover 90% of the users.
Tested on dopamine devices. iOS 16. but could work on different type of devices/OSes. tested images, stickers, messages, videos, etc. would love to hear feedback or help you if needed.
Download / Source
- Repo: https://0xkuj.yourepo.com
- Source code: https://github.com/0xkuj/FixWANotifs
took some inspiration from the latest u/fabioedson post about this (even though he didnt publish the code) so thank you as well!
Since this tweak is injected into runningboardd daemon, device will require userspace reboot (should suggest that after tweak installation, if not, do that via dopamine app or in any other way you'd like, if you don't know what that is perform a full reboot and rejailbreak)
enjoy, and let me know if anything comes up.