Well, I _basically_ got push notifications working in Ivory now. Except that they don't work if the app is in the background and tapping on them only opens the app and not the notification itself.

Still, progress.


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.

Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!