Ionic pro deploy background method notification

Hi! Im working with cordova-plugin-ionic. How do I notify the user to restart the application after update? The update method is background.