How do I have my own prompt for the install banner in the PWA APP written in Angular 5. In my component I am able to listen to the event listener like
window.addEventListener('beforeinstallprompt', event => {
let ev:any = event;
});
but how do I get the userChoice property and get the choice after prompt?
Any angular samples would be appreciated!