Push notifications can trigger background processes
Login to reply
Replies (4)
๐ it's hard to do it for my flutter apps.
curious to see how the implementation will turn out.
Be very nice. I wonder though, is there some reason nsec.app doesn't exist as a native app for iOS? @brugeman seems to have the energy to cover anything that can be covered.
We actually made a build of nsec.app for iOS. The app is written on JS for the web, so we had to use native wrapper (capacitor) to avoid rewriting it all. Unfortunately, iOS push notifications don't really launch the app - they just show the info from the push payload (unlike web push which launches the app service worker). To make the app code launch you have to add "notification services extension" code or something like that, which could in theory run the signer, but that would mean we have to somehow put the whole capacitor process inside that extension... Seems very complex, and we don't have an iOS specialist on the team, so leaving the iOS build for later.