diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 7e7e896d0..ad3c06fe3 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,3 @@ # Global rule: * @xmtp/mobile -*.md @jhaaaa \ No newline at end of file +*.md @fabriguespe \ No newline at end of file diff --git a/README.md b/README.md index c1a6ba12f..6ff2146ce 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,25 @@ npx expo prebuild For bare React Native projects, [install and configure the `expo` package](https://docs.expo.dev/bare/installing-expo-modules/) before continuing. -### Add the package to your yarn dependencies +then add the required babel plugin +```bash +yarn add @babel/plugin-proposal-export-namespace-from -D +``` +then add the plugin to your babel.config.js +```js +module.exports = { + presets: ['module:@react-native/babel-preset'], + plugins: [ + '@babel/plugin-proposal-export-namespace-from', + // ... other plugins + ], +}; +``` + +### Add the package to your dependencies ```bash -yarn i @xmtp/react-native-sdk +yarn add @xmtp/react-native-sdk ``` ### Configure for iOS