Bluesky app fork with some witchin' additions 💫

Include app version in metrics (#8699)

authored by

Eric Bailey and committed by
GitHub
cf8d8b3b bbc022c0

+3
+3
src/lib/statsig/statsig.tsx
··· 8 8 import {type MetricEvents} from '#/logger/metrics' 9 9 import {isWeb} from '#/platform/detection' 10 10 import * as persisted from '#/state/persisted' 11 + import packageDotJson from '../../../package.json' 11 12 import {useSession} from '../../state/session' 12 13 import {timeout} from '../async/timeout' 13 14 import {useNonReactiveCallback} from '../hooks/useNonReactiveCallback' ··· 25 26 // This is the place where we can add our own stuff. 26 27 // Fields here have to be non-optional to be visible in the UI. 27 28 platform: 'ios' | 'android' | 'web' 29 + appVersion: string 28 30 bundleIdentifier: string 29 31 bundleDate: number 30 32 refSrc: string ··· 210 212 refSrc, 211 213 refUrl, 212 214 platform: Platform.OS as 'ios' | 'android' | 'web', 215 + appVersion: packageDotJson.version, 213 216 bundleIdentifier: BUNDLE_IDENTIFIER, 214 217 bundleDate: BUNDLE_DATE, 215 218 appLanguage: languagePrefs.appLanguage,