loading...

How can signal an app on an android phone to do something from a webapp on another device?

twitter logo ใƒป1 min read

Hello, does anyone have any idea how I would go about telling an app on an android device to do something when I execute a function in a web-app (nodejs or something else)?

twitter logo DISCUSS (1)
markdown guide
 

I would check out the different firebase products, you could for example have a function that is invoked by your webpage. This function would add a โ€œsignal objectโ€ to firestore or realtimedb (firebase nosql offering) and send a push message to the phone. Once a user opens the app they can read this object and change its state. You can set up listeners in the webpage so that when this object is changed by the phone the webpage can continue/reload/finish. Could you elaborate a bit more on your use case, might be easier to get a concrete solution then.

Classic DEV Post from Oct 3 '19

Let's Talk About Passion

Too many articles offer misguided advice on passion. Let's set the record straight. Here's a more nuanced view on passion, which I hope will be encouraging in its own right too.

imeuropa ๐Ÿ‡ช๐Ÿ‡บ profile image