Yep, if you don't care about security, the browser can just share the same memory of the app in a way that they can see each other. Then it's super easy. Kotlin has this baked in. But only because it uses the default installed browser on Android.
There is nothing like that on Kotlin desktop.
Login to reply
Replies (2)
If its not secure why do White Noise, Delta chat, Armada & Vector all have it? I would think they would need more security than a social client
Maybe then haven't even realized the damage that running external code in your app can do. Amethyst runs the browser in a separate OS process in a way that disk, cpu and memory are fully isolated from one another. That's 50,000 lines of custom sandbox code just to do that.
Basically, the xdc game can see your nsec/wallet credentials in memory if it wants.