parent
85174c1fab
commit
e570e82f90
@ -25,6 +25,10 @@ export class DownloadAppDirective implements OnInit {
|
|||||||
console.log('#: ', e);
|
console.log('#: ', e);
|
||||||
this.deferredPrompt = e;
|
this.deferredPrompt = e;
|
||||||
|
|
||||||
|
});
|
||||||
|
this.renderer.listen('window', 'appinstalled', (evt) => {
|
||||||
|
console.log('INSTALLED!!!');
|
||||||
|
});
|
||||||
this.getTypeDevice();
|
this.getTypeDevice();
|
||||||
|
|
||||||
if (
|
if (
|
||||||
@ -38,10 +42,6 @@ export class DownloadAppDirective implements OnInit {
|
|||||||
|
|
||||||
this.el.nativeElement.style.display = 'none';
|
this.el.nativeElement.style.display = 'none';
|
||||||
}
|
}
|
||||||
});
|
|
||||||
this.renderer.listen('window', 'appinstalled', (evt) => {
|
|
||||||
console.log('INSTALLED!!!');
|
|
||||||
});
|
|
||||||
}, 0)
|
}, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user