R
R
roskom_nadzor2016-08-30 00:05:21
Node.js
roskom_nadzor, 2016-08-30 00:05:21

How to deliver app updates to users?

I have developed a kind of client-server application for my company and I need that if I make changes to the application, then it is automatically delivered to all employees who have it installed.
There were thoughts to make your application in the form of a node_module, put it on npm and add a script so that npm install is prescribed at startup. But it seems to me that this is fundamentally the wrong approach.
Updates will come out quite often, all sorts of minor edits and stuff, and often without backward compatibility, so long delays between checking for updates are unacceptable.
Tell me how to solve this problem?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Entelis, 2016-08-30
@roskom_nadzor

Head-on solution:
The client sends its own version in each request to the server.
The server in response, instead of executing the request, can send the error "client update is required"
Well, then we update.
But in general it is dangerous to do without backward compatibility. If it falls into the gap of some critical process, there will be a lot of negativity from users.

K
Konstantin Nagibovich, 2016-08-30
@nki

SaaS will solve your problem?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question