Skip to content

Commit b8c39cb

Browse files
authored
Updating migration guide
Removing specific version numbers from the migration guide-just confirmed this with the eng team, this will be more future-proof
1 parent f00151b commit b8c39cb

File tree

1 file changed

+4
-4
lines changed
  • src/connections/sources/catalog/libraries/mobile/react-native

1 file changed

+4
-4
lines changed

src/connections/sources/catalog/libraries/mobile/react-native/migration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ To migrate to React Native 2.0:
99

1010
1. Update the existing package:
1111
```js
12-
yarn upgrade @segment/analytics-react-native@2.2.0
12+
yarn upgrade @segment/analytics-react-native
1313
```
1414
2. Install additional dependencies:
1515
```js
@@ -88,7 +88,7 @@ PODS:
8888
{% endcodeexampletab %}
8989
{% endcodeexample %}
9090

91-
### Example client configuration for `analytics-react-native 2.2.0`
91+
### Example client configuration for `analytics-react-native 2.0`
9292

9393
{% codeexample %}
9494
{% codeexampletab App.tsx (or .js) %}
@@ -126,7 +126,7 @@ const App = () => {
126126
"nanoid": "^3.1.30",
127127
"@react-native-async-storage/async-storage": "^1.15.11",
128128
"@segment/analytics-react-native": "2.2.0",
129-
"@segment/analytics-react-native-plugin-firebase": "2.2.0",
129+
"@segment/analytics-react-native-plugin-firebase": "2.0",
130130
"@segment/sovran-react-native": "0.2.6",
131131
}
132132
```
@@ -165,7 +165,7 @@ onSendEvent = async() => {
165165
}
166166
```
167167

168-
### Example tracking implementation for `analytics-react-native 2.2.0`
168+
### Example tracking implementation for `analytics-react-native 2.0`
169169
Home.tsx
170170

171171
```js

0 commit comments

Comments
 (0)