I'm currently just doing a setInterval in the WebView. That's why it won't work on the background thread, but I figure I can set the notifications in a cache file, then do the interval in Swift instead.
Now I'm thinking why I did not do that in the first place.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!