Skip to content

Commit 02167e0

Browse files
authored
Update README.md (#474)
add sovran to install instructions. Update Expo installation section. Resolves #467
1 parent 1f8f572 commit 02167e0

File tree

1 file changed

+5
-13
lines changed

1 file changed

+5
-13
lines changed

README.md

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ NOTE: This project is currently in development and is covered by Segment's [Firs
1111
- [@segment/analytics-react-native ![circleci](#segmentanalytics-react-native-circlecicircleci-url)
1212
- [Table of Contents](#table-of-contents)
1313
- [Installation](#installation)
14-
- [Expo Installation](#expo-installation)
1514
- [Permissions](#permissions)
1615
- [Migrating](#migrating)
1716
- [Usage](#usage)
@@ -45,12 +44,12 @@ NOTE: This project is currently in development and is covered by Segment's [Firs
4544

4645
## Installation
4746

48-
Install `@segment/analytics-react-native` and [`react-native-async-storage/async-storage`](https://github.com/react-native-async-storage/async-storage):
47+
Install `@segment/analytics-react-native`, [`@segment/sovran-react-native`](https://github.com/segmentio/sovran-react-native) and [`react-native-async-storage/async-storage`](https://github.com/react-native-async-storage/async-storage):
4948

5049
```sh
51-
yarn add @segment/analytics-react-native @react-native-async-storage/async-storage
50+
yarn add @segment/analytics-react-native @segment/sovran-react-native @react-native-async-storage/async-storage
5251
# or
53-
npm install --save @segment/analytics-react-native @react-native-async-storage/async-storage
52+
npm install --save @segment/analytics-react-native @segment/sovran-react-native @react-native-async-storage/async-storage
5453
```
5554

5655
For iOS, install native modules with:
@@ -60,18 +59,11 @@ npx pod-install
6059
```
6160
⚠️ For Android, you will have to add some extra permissions to your `AndroidManifest.xml`.
6261

63-
### Expo Installation
62+
### Expo
6463

6564
🚀 `@segment/analytics-react-native 2.0` is compatible with Expo's [Custom Dev Client](https://docs.expo.dev/clients/getting-started/) and [EAS builds](https://docs.expo.dev/build/introduction/) without any additional configuration. Destination Plugins that require native modules may require custom [Expo Config Plugins](https://docs.expo.dev/guides/config-plugins/).
6665

67-
Follow the installation steps listed above for standard React Native builds
68-
69-
Install [`@segment/sovran-react-native`](https://github.com/segmentio/sovran-react-native)
70-
71-
```sh
72-
yarn add @segment/sovran-react-native
73-
```
74-
66+
⚠️ `@segment/analytics-react-native 2.0` is not compatible with Expo's managed workflow.
7567
### Permissions
7668

7769
<details>

0 commit comments

Comments
 (0)