08eadd8149
The single native pass resolved [".ios", ".android", ".native", ""], which models a platform that does not exist - on iOS Metro never falls back to .android files and vice versa. Replace it with tsconfig.check.ios.json and tsconfig.check.android.json, each mirroring Metro's real resolution order for its platform, alongside the existing web pass. pnpm typecheck now runs all three, and the lint workflow matrix runs them as separate jobs. The ambient check shims in src/platform are now excluded from passes they aren't written for (previously the web shims were silently included in the native pass via the "src" include glob), and a new Android-pass shim pins react-native-device-attest to its platform-neutral base class, whose Android variant omits the iOS-only getDeviceCheckToken static. The Android pass surfaced a real bug: Referrer.getReferrerInfo() is async on Android (the Play referrer API only exposes a promise) but sync on iOS/web, and the shared callers used it synchronously - so on Android the deepLink:referrerReceived metric fired with a Promise instead of data. The API is now uniformly promise-returning and the callers await it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BCuMKXWHuyGoNhTVAHBMyk