Merge branch 'fix/boot-stuck-report'
This commit is contained in:
commit
fb12a7dfb4
4 files changed
+54
-4
No files matched your search
@@ -14,6 +14,8 @@ type Events = {
|
||||
install_choice: { outcome: 'accepted' | 'dismissed' }
|
||||
install_done: Record<string, never>
|
||||
app_launch: { mode: 'standalone' }
|
||||
/** index.html 첫 화면 스크립트가 gtag 로 바로 보낸다 */
|
||||
boot_stuck: { reason: string; seconds: number; tries: number; app_started: boolean }
|
||||
sheet_open: { sheet: SheetType }
|
||||
like: { content_type: 'post' | 'comment' | 'talk' | PinnedKey; item_id: number }
|
||||
comment: { post_id: number }
|
||||
|
||||
@@ -8,6 +8,9 @@ import App from './App.tsx'
|
||||
import './b/install'
|
||||
import { track } from './lib/analytics'
|
||||
|
||||
// index.html 의 첫 화면이 멈췄을 때 앱 파일까지는 실행됐는지 가르는 표시
|
||||
;(window as Window & { __appStarted?: boolean }).__appStarted = true
|
||||
|
||||
// iOS는 user-scalable=no를 무시해서 두 손가락 확대를 직접 막는다
|
||||
for (const type of ['gesturestart', 'gesturechange']) document.addEventListener(type, (e) => e.preventDefault(), { passive: false })
|
||||
|
||||
|
||||
Reference in new issue
Block a user