Speaking for iOS, I don’t believe this is possible. iOS has rules around what background processes can and can’t run on-device.
For notifications coming from the internet, in order to preserve battery life, Apple wants cloud APNs to wake up terminated apps to deliver notifications.
I know android does some similar battery preservation stuff around notifications, but I’m a little less familiar with that.
Speaking for iOS, I don’t believe this is possible. iOS has rules around what background processes can and can’t run on-device.
For notifications coming from the internet, in order to preserve battery life, Apple wants cloud APNs to wake up terminated apps to deliver notifications.
I know android does some similar battery preservation stuff around notifications, but I’m a little less familiar with that.