I am building an application using nats for interprocess messaging within a local context. I am targeting a variety of hardware environments with one or more small processors (e.g. Raspberry Pi or ESP32C class) within a device. So far this is working well deployed on a single Raspberry Pi (debian Linux) which runs the server service and a dozen client processes.
I would like to deploy the same app functions as pure mobile (android and ios). Mobile client code (I'm writing in flutter) work fine calling an external nats server. I want to host the server itself on mobile. This link suggests it should be possible:
https://dev.to/karanpratapsingh/embedding-nats-in-go-19o .
This is somewhat beyond my expertise. I have zero go dev experience, junior-grade flutter experience, and am quite new to nats. (However I did quite a bit or ROS v1, Robot Operating System, development and the message-passing architecture feels very familiar.
I would love to hear that someone has already implemented nats-server on android and ios; if not, some pointers would be great!
Thanks,
Chuck