Option to connect a React Native application to an Electron app in an offline situation

117 views Asked by At

I am trying to architect a solution in which a React Native mobile companion app could connect to an Electron app running a local database. A valid scenario would be scanning barcodes on the mobile app with no internet connection and then somehow relaying that information back to my electron app, which is running a local, offline database.

I am experimenting with the idea of running a local express server with mongodb and using bonjour to broadcast the http service, which could be picked up on the phone in the same way, but from my research mongodb+express in electron seems difficult. Any ideas on how to send data between the react native application and the electron app would be greatly appreciated.

0

There are 0 answers