Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <link rel="manifest" href="manifest.json" id="manifest-link">
- ngOnInit() {
- // ... platform detection
- if (isiOS) {
- const element = document.getElementById('manifest-link');
- console.log(`Removing manifest element on iOS, should suppress PWA installation`);
- element.remove();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement