// Optional-dependency shim for Expo Router v3/v4 (see navigationPatcher). // The require sits directly inside `try` so Metro marks it as an optional // dependency: hosts without expo-router still bundle, and the require throws // at runtime instead, leaving the export null. let _module: unknown = null; try { _module = require('expo-router/build/fork/NavigationContainer'); } catch (e) {} export default _module;