This example project is a minimal reproduction of an issue found in @fullstory/react-native 1.9.0 (native 1.69) on iOS.
To run: yarn && (cd ios; pod install) && yarn ios.
Testing on a device and simulator, you can observe [TypeError: Cannot read property '$$typeof' of undefined] on launch. You can do either of the following to get back to a working state:
- remove the
componentsprop from theTranscomponent fromract-i18nextin App.tsx - remove the
@fullstory/react-nativebabel plugin in babel.config.js
// working state #1, in App.tsx:
<Trans
i18nKey="foo:bar"
// components={{a: <Text />}}
/>
// working state #2, in babel.config.js:
plugins: [
// '@fullstory/react-native',
['@fullstory/annotate-react', { native: true }],
]