@pwabuilder/pwainstall
Advanced tools
Comparing version 1.2.4 to 1.2.5
{ | ||
"name": "@pwabuilder/pwainstall", | ||
"version": "1.2.4", | ||
"version": "1.2.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "dist/pwa-install.js", |
@@ -534,3 +534,8 @@ import { | ||
// handle iOS specifically | ||
this.isIOS = navigator.userAgent.includes('iPhone') || navigator.userAgent.includes('iPad'); | ||
// this includes the regular iPad | ||
// and the iPad pro | ||
// but not macOS | ||
this.isIOS = navigator.userAgent.includes('iPhone') | ||
|| navigator.userAgent.includes('iPad') | ||
|| navigator.userAgent.includes('Macintosh') && navigator.maxTouchPoints && navigator.maxTouchPoints > 2; | ||
@@ -537,0 +542,0 @@ this.installed = false; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
772518
2338