DEV Community

Discussion on: Best way to manage new versions of my project making sure all client sessions are updated to latest version ?

Collapse
 
rhymes profile image
rhymes

Are we talking about a native app? I guess you can send notifications to customers urging them to update the software but I'm not sure you can force them to upload. Communication is the key.

For a web app you can show a notice telling the client to refresh because there are new features

Collapse
 
luigi_leano profile image
Luis Uriel Leaño

Hi rhymes , thank you so much for your answer. We have a web app made it with Angular 4.4.7,; the notifications are something that we have in mind but also we are looking for more options, to know if there is a better way to do it. Another suggestion is welcome. Thank you so much.

Collapse
 
rhymes profile image
rhymes

What if you send an update message through a websocket/SSE from the server to the client? Then you tell the user about the new update saying "new features are available, please refresh".

Something like that

Thread Thread
 
luigi_leano profile image
Luis Uriel Leaño

Yeah that is what we actually have implemented, it works ! Thank you so much.

Thread Thread
 
rhymes profile image
rhymes

You should write an article about it :D

Thread Thread
 
luigi_leano profile image
Luis Uriel Leaño

Sounds good , i will do it. Wait for it ;)