mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
Add PWACompat (#1433)
* Add PWACompat (attempt) Fixes #1425 * Fix CSS, use custom splash screen font * Respect bottom safe area
This commit is contained in:
parent
75e0163dd1
commit
fe5e71a4e5
16 changed files with 37 additions and 64 deletions
|
@ -10,6 +10,13 @@ import { register as registerServiceWorker } from "./serviceWorker";
|
|||
|
||||
import "./css/styles.scss";
|
||||
|
||||
// On Apple mobile devices add the proprietary app icon and splashscreen markup.
|
||||
// No one should have to do this manually, and eventually this annoyance will
|
||||
// go away once https://bugs.webkit.org/show_bug.cgi?id=183937 is fixed.
|
||||
if (/\b(iPad|iPhone|iPod)\b/.test(navigator.userAgent)) {
|
||||
import("pwacompat");
|
||||
}
|
||||
|
||||
const SentryEnvHostnameMap: { [key: string]: string } = {
|
||||
"excalidraw.com": "production",
|
||||
"now.sh": "staging",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue