Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

adding react SDK and supporting content #18

Merged
merged 3 commits into from
Apr 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .github/workflows/link-check-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@

},

{

"pattern": "https://badge.fury.io"

},

{
"pattern": "/analytics/apis/http-v2-api/"
}
Expand Down
9 changes: 8 additions & 1 deletion docs/analytics/dynamic-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ description: Use dynamic configuration to find the best server URLs based on a u
---


Some Amplitude SDK versions (iOS 5.3.0+, Android 2.28.0+, and JavaScript 8.9.0+, Unity, Flutter) let you set your apps to use dynamic configuration.
Some Amplitude SDK versions (iOS 5.3.0+, Android 2.28.0+, JavaScript 8.9.0+, React Native, Unity, and Flutter) let you set your apps to use dynamic configuration.

Dynamic configuration finds the best Amplitude server URL based on app users' location.

## Considerations
Expand Down Expand Up @@ -72,6 +73,12 @@ Enable the `useDynamicConfig` flag.
});
```

=== "React Native"

```ts
Amplitude.getInstance().setUseDynamicConfig(true);
```

=== "Unity"

```c#
Expand Down
Loading