It's iris.to wrapped as a native app, so should work just as well as adding iris.to to the home screen.

Reply to this note

Please Login to reply.

Discussion

I wonder if the native app could add window.nostr to the webview and keep the private key fully protected from XSS and any security breach of the PWA origin.

If you are loading the site into WKWebview you can inject anything you want into the site. You can definitely make a bridge to talk back and forth. Swift <> JavaScript.

Be cautious, apple is very weird about doing this.

how hard would it be to make something like a pure Nostr browser that just loads HTML/JS Nostr apps from URLs and injects window.nostr?

Can you get it to handle nostr: links natively at least?