Download ping

This commit is contained in:
2026-07-13 00:03:28 +02:00
parent b9fd72d150
commit 824ad69bf2
5 changed files with 93 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ import * as SplashScreen from 'expo-splash-screen';
import { AuthService } from '../services/authService';
import { Analytics } from '../services/analytics';
import { AnimatedSplashScreen } from '../components/AnimatedSplashScreen';
import { reportInstallOnce } from '../services/installPing';
// Prevent the splash screen from auto-hiding before asset loading is complete.
SplashScreen.preventAutoHideAsync().catch(() => { });
@@ -113,6 +114,8 @@ function RootLayoutInner() {
await signOut();
}
setInstallCheckDone(true);
// Fire-and-forget: pings the downloads Discord channel once per install.
reportInstallOnce();
})();
}, [signOut]);