Skip to content

Commit b43c5b0

Browse files
author
Niall Brennan
committed
add include for new rn lib
1 parent 67e065a commit b43c5b0

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
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 our supported [Destination Plugin documentation](/docs/connections/sources/catalog/libraries/mobile/react-native/#supported-destinations).

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ 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/react2-dest.md %}
66+
6567
{% include content/react-dest.md %}
6668

6769
### Server

0 commit comments

Comments
 (0)