If I remember correctly it involves some magic with keeping the Nostr app in the background running and a way to fetch new events for the app populate it as a notification.
Threema Libre does it by keeping the app open in the background along with a persistent notification.