Skip to content

Commit 791dc8e

Browse files
authored
Merge pull request #5523 from segmentio/niall/remove_old_rn_partial
Remove RN partial for old RN 1.x library
2 parents e346fba + 8db3d20 commit 791dc8e

File tree

18 files changed

+1
-147
lines changed

18 files changed

+1
-147
lines changed

src/_includes/content/react-dest.md

Lines changed: 0 additions & 31 deletions
This file was deleted.

src/connections/destinations/catalog/adjust/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,6 @@ analytics = new Analytics.Builder(this, "write_key")
109109

110110
After you build and release to the App Store, Segment automatically starts translating and sending your data to Adjust.
111111

112-
### React Native
113-
114-
{% include content/react-dest.md %}
115-
116112
### Server
117113

118114
The Cloud-mode integration allows you to send *supplemental* data to Adjust. This *does not* include attribution events. If you rely on the Adjust server-side component, and do not bundle the Segment-Adjust SDK, your installs will not be attributed. E-commerce events and other general `track` events are supported out of the box. You **must** map your `track` events to your custom Adjust Event Token in your [Adjust destination settings](#map-your-events-to-custom-adjust-event-tokens).

src/connections/destinations/catalog/amplitude/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ In addition to Segment's Amplitude documentation, Amplitude provides a [Segment
4242

4343
If you included Segment's JavaScript snippet on your page, then Amplitude's SDK loads on your page automatically and you can use Segment's to begin sending events right away.
4444

45-
### React Native device mode set up
46-
47-
{% include content/react-dest.md %}
48-
49-
5045
## Page and Screen
5146

5247
If you're not familiar with the Segment Specs, take a look to understand what the [Page](/docs/connections/spec/page/) and [Screen](/docs/connections/spec/screen/) methods do. By default, Segment does not send these standard calls to Amplitude. However, you can enable them with the destination settings below, which you can find under the "Optional Settings" tab.

src/connections/destinations/catalog/branch-metrics/index.md

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,6 @@ This destination is maintained by Branch. For any issues with the destination, [
2929
5. Paste the Branch Key in the destination settings and click **Save**.
3030

3131

32-
### Adding Branch device-mode SDKs for React Native
33-
34-
<!-- LR, Mar2021: this should be a `react-dest` include but Branch changed their name from Branch-Metrics-->
35-
36-
To add the Branch device-mode SDK to a [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native/) project using Segment's `1.5.1≤` release:
37-
1. Navigate to the root folder of your project, and run a `yarn add branch` command to add the destination SDK to your project.
38-
2. Add an `import` statement to your project, as in the example below.
39-
```js
40-
import Branch from '@segment/analytics-react-native-branch'
41-
```
42-
3. In the same project file, add the destination to the `using` list in the `await` command.
43-
```js
44-
await analytics.setup('YOUR_WRITE_KEY', {
45-
// Add any of your Device-mode destinations. This ensures they load before continuing.
46-
using: Branch
47-
// ...
48-
})
49-
```
50-
4. Finally, change to your iOS development folder ( `cd ios` ) and run `pod install`.
51-
52-
53-
5432
## Identify
5533

5634
If you're not familiar with the Segment Specs, take a look to understand what the [Identify method](/docs/connections/spec/identify/) does. An example iOS call would look like:

src/connections/destinations/catalog/braze/index.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -108,30 +108,6 @@ To use the latest Braze SDK to collect IDFAs you must do the following:
108108
.build();
109109
```
110110
111-
### React Native device-mode set up
112-
113-
<!-- LR, Mar2021: this should be a `react-dest` include but Braze was originally called Appboy-->
114-
115-
To add the Braze device-mode SDK to a [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native/) project using Segment's `1.5.1≤` release:
116-
1. Navigate to the root folder of your project, and run a `yarn add appboy` command to add the destination SDK to your project.
117-
2. Add an `import` statement to your project, as in the following example.
118-
```js
119-
import Braze from '@segment/analytics-react-native-appboy'
120-
```
121-
3. In the same project file, add the destination to the `using` list in the `await` command.
122-
```js
123-
await analytics.setup('YOUR_WRITE_KEY', {
124-
// Add any of your Device-mode destinations. This ensures they load before continuing.
125-
using: [Braze]
126-
// ...
127-
})
128-
```
129-
4. Change to your iOS development folder ( `cd ios` ) and run `pod install`.
130-
131-
132-
> note ""
133-
> Braze was formerly known as "Appboy", and the Braze React component still uses that name. Be sure to use the old name!
134-
135111
## Page
136112
137113
If you're not familiar with the Segment Specs, take a look to understand what the [Page method](/docs/connections/spec/page/) does. An example call would look like:

src/connections/destinations/catalog/bugsnag/index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,6 @@ If you'd like to integrate with Bugsnag's iOS and/or Android SDKs, in addition t
3131

3232
2. [iOS](https://github.com/segment-integrations/analytics-ios-integration-bugsnag)
3333

34-
35-
### React Native
36-
37-
{% include content/react-dest.md %}
38-
39-
- - -
40-
4134
## Identify
4235

4336
Once you've correctly set up your Bugsnag integration, you should [`identify`](/docs/connections/spec/identify/) each of your users as soon as you know their identity (this typically happens after log in or sign up), so that Bugsnag can provide you with more visibility into which user is encountering which error.

src/connections/destinations/catalog/clevertap/index.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -163,12 +163,6 @@ No further action is required to integrate in-app notifications, which are regis
163163
164164
CleverTap has created a sample iOS application that integrates CleverTap using Segment. Check it out at the [GitHub repository](https://github.com/CleverTap/clevertap-segment-ios/tree/master/Example){:target="_blank"}.
165165
166-
167-
## React Native
168-
169-
{% include content/react-dest.md %}
170-
171-
172166
## Server-Side
173167
174168
### Push Tokens

src/connections/destinations/catalog/comscore/index.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,6 @@ To install comScore via Segment on iOS, please follow the additional set up step
3030
### Android
3131
To install comScore via Segment on Android, please follow the additional set up steps in the Segment-Comscore Android repository [here](https://github.com/segment-integrations/analytics-android-integration-comscore#analytics-android-integration-comscore).
3232

33-
### React Native
34-
35-
{% include content/react-dest.md only="ios"%}
36-
3733
## Page
3834

3935
Calling `page` on web will automatically send a call to comScore's Application Tag, along with any `labels` mapped in the **Beacon Param Map** setting.

src/connections/destinations/catalog/countly/index.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ After you integrate the appropriate destination with your app, add the Countly d
1212

1313
These new settings take up to an hour to propagate to existing users, but is instantaneous for new users.
1414

15-
### React Native set up
16-
17-
{% include content/react-dest.md %}
18-
19-
2015
## Track
2116

2217
Countly helps you better understand your user's behavior. To accomplish that, [`track`](/docs/connections/spec/track/) your user's actions in detail.

src/connections/destinations/catalog/crittercism/index.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,6 @@ To get started with Crittercism and Segment, you'll want to integrate our [Andro
1111

1212
Once the Segment library is integrated with your app, toggle Crittercism on in your Segment destination catalog, and add your **App Id** which you can find in your [Crittercism app settings](https://app.crittercism.com/developers/login). These new settings will take up to an hour to propagate to all of your existing users. For new users it'll be instantaneous!
1313

14-
### React Native set up
15-
16-
{% include content/react-dest.md %}
17-
18-
- - -
19-
20-
2114
## Identify
2215

2316
Crittercism can show you information about the user using your app. You can record that info with our [`identify`](/docs/connections/spec/identify/) method. You should put the `identify` call as soon as you know the user's identity. This usually happens after they register or log in.

0 commit comments

Comments
 (0)