Skip to content

Commit 19723c3

Browse files
authored
Merge pull request #4621 from segmentio/niall/rn_partial
RN 2.0 partial
2 parents b6f701b + 7227a93 commit 19723c3

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

src/_includes/content/react2-dest.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<!-- Usage: `include react-dest only={ios|android}` -->
2+
<!-- in the file we're pulling from the API, "name" corresponds with the path to the yml blob for a specific destination.-->
3+
{% assign currentSlug = page.url | split: "/" | last %}
4+
{% assign thisDest = site.data.catalog.destinations.items | where: "slug", currentSlug | first %}
5+
{% assign thisDestName = thisDest.display_name %}
6+
{% assign thisDestRNspecific = include.only %}
7+
8+
9+
{% if thisDestRNspecific %}
10+
<div class="premonition info">
11+
<div class="fa fa-info-circle"></div>
12+
<div class="content"><p>
13+
The {{thisDestName}} device-mode destination SDK is only available for {{thisDestRNspecific}} in React Native.
14+
</p></div></div>
15+
{%endif%}
16+
17+
To add the {{thisDestName}} device-mode SDK to a [React Native](/docs/connections/sources/catalog/libraries/mobile/react-native/) project using Segment's new `2.0` release, please reference the [Destination Plugin documentation](/docs/connections/sources/catalog/libraries/mobile/react-native/#supported-destinations).

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ To prevent this, you can enable the new **Fallback to send IDFV when advertising
6262

6363
#### Additional React Native device-mode set up
6464

65-
{% include content/react-dest.md %}
65+
{% include content/react2-dest.md %}
6666

6767
### Server
6868

0 commit comments

Comments
 (0)