I want to be able to send music to sonos using my API. Unfortunately, the only way I know is to send the URI to the device so that it can download it.
I have already visited the react-native-httpserver package. This has not been tested on Android. So I looked at Android nanoHTTPD and other similar packages in iOS like CocoaHTTPServer is.
You do not need to create a wrapper over these packages to create something cross-platform, but I am wondering if there is another solution in Javascript or some kind of work on react-native-tcp
jsdario
source share