mirror of
https://github.com/stablyai/orca.git
synced 2026-11-01 01:27:35 +00:00
Load the Hermes plural-rules polyfill from the phone app entry instead of mobile-i18n, and transform mobile-i18n and its catalog loader without the Expo tsconfig in root vitest.
11 lines
653 B
JavaScript
11 lines
653 B
JavaScript
// Before any module that builds i18next plural rules; kept out of mobile-i18n so desktop tests need no mobile deps.
|
|
import './src/i18n/plural-rules-polyfill'
|
|
// Headless notification launches do not mount the router layout.
|
|
import './src/notifications/push-background-dismissal'
|
|
import { loadPairedE2EENativeBindings } from './src/transport/paired-e2ee-native-bindings'
|
|
import { providePairedE2EENativeBindings } from './src/transport/paired-e2ee-native-codec'
|
|
import 'expo-router/entry'
|
|
|
|
// Why here: only the app entry may load native modules; tests and desktop code reach the transport.
|
|
providePairedE2EENativeBindings(loadPairedE2EENativeBindings)
|