A
A
adrenalinruslan2019-05-10 14:01:55
JavaScript
adrenalinruslan, 2019-05-10 14:01:55

Vibration or Notification - NODE.JS?

I make javascript and run it on android through terminal
Is it possible to turn on android vibration through javascript somehow? Or is there a simple notification script?
For example, as on a PC: node-notifier is very simple and convenient.
To show a notification on android, what kind of api key is needed, through GCM or something like that. In general, what a hemorrhoid.
I would like to do without GCM

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
display: block, 2019-05-10
@adrenalinruslan

If you are using termux terminal you can install termux-api
https://wiki.termux.com/wiki/Termux:API
Install nodejs and use this API from it.
Additionally, you can use this module:
https://github.com/roccomuso/termux

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question