I would like to use protobuf in a NativeScript app, however I'm struggling to figure out how, as it seems like NativeScript doesn't support binary over the wire.
I know NativeScript apps can use protobuf, because I'm pretty sure the nativescript-plugin-firebase does. How is this plugin able to use protobuf?
Yes, it's an open feature request to support binary data in Http requests.
The workaround is to use nativescript-background-http plugin which does support uploading binary data to remote server.
tns plugin add nativescript-background-http