Download ping
This commit is contained in:
@@ -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]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user