I'm not sure, I think before coding anything we should find the right spec for those platforms: https://github.com/nostr-protocol/nips/pull/1336
Android is simple because of one bundled format, Linux is probably the opposite - a pain in the ass
Android is simple because of one bundled format, Linux is probably the opposite - a pain in the ass