K
K
Kiljko2019-04-29 21:55:50
Android
Kiljko, 2019-04-29 21:55:50

How to listen to android notifications on node.js?

Please advise node.js framework for listening to notifications on my android device.
What I want to do:
As soon as I receive a notification on my android device, let's say from the same telegram, I will send a POST request using REST.api to my http application (also written on a node) and display a notification on my PC.
Perhaps there is already a good ready-made solution , I will be glad to know about it)
PS I know that it is better to write on android in java, and on PC it is better to use c++, but I want to use node.js

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mitaichik, 2019-04-30
@mitaichik

I think what you want is not possible. Personally, I do not know how to intercept a notification from a third-party application. Perhaps somehow it is possible on rooted devices with some kind of hacks, but you yourself think what a hole it is - I'm sure that the android developers have done their best to prevent this.
As for nodejs on android - IMHO it's worth forgetting, it's easier to learn java a bit, and not shoot sparrows from a cannon.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question