How to communicate between 2 vue-native apps

62 Views Asked by At

I want to communicate between 2 vue-native apps. Like 1 app will order to turn on the light, the other one will take that order and implement it. As database, I am using firebase

1

There are 1 best solutions below

0
Mawlicious On

Since you're using Firebase, this is rather easy to accomplish using Firebase's RTDB data events. Ironically a couple months ago I have made a library that simplifies this process based on Firebase.

Its called Signalz, install it using npm or yarn:

npm i signalz
// OR
yarn add signalz