PWA not being refreshed on new production version on mobile devices

I’m developing a desktop and mobile PWA using Ionic 3/Angular 4. I publish it in a https server from Amazon. The app is open via desktop browser, mobile browser or via home screen icon in mobile devices.

When I publish a new version and open the address in the desktop browser I get the most recent version of my app. When I publish a new version and open it via mobile browser or home screen icon I get the old version of my app.

I thought that that the PWA should manage its version by itself.

How could I force the update of my app on mobile devices?

did you check service worker ?