-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'eu-cluster' into develop - Android added
- Loading branch information
Showing
5 changed files
with
120 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
--- | ||
title: "Adapty on EU servers" | ||
description: "" | ||
metadataTitle: "" | ||
no_index: true | ||
--- | ||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
If legal requirements mandate EU-based servers, Adapty provides an EU cluster option. Follow these steps: | ||
|
||
1. Configure Adapty SDK for the EU region. | ||
2. Register with Adapty via the EU-specific registration link. | ||
3. Log in to Adapty through the EU-specific login link. | ||
|
||
After setup, you can use the Adapty Dashboard as usual at `app.adapty.io`. | ||
|
||
## Step 1. Configure Adapty SDK for EU region | ||
|
||
<Tabs> | ||
<TabItem value="iOS" label="iOS"> | ||
Text | ||
</TabItem> | ||
|
||
<TabItem value="Android" label="Android" default> | ||
Install Adapty SDK as described in [Adapty SDK Installation & Configuration](sdk-installation-android). During configuration, add the EU cluster as follows: | ||
|
||
Include the `.withServerCluster` parameter in your configuration: | ||
|
||
<Tabs> | ||
<TabItem value="Kotlin" label="Kotlin" default> | ||
|
||
```kotlin | ||
override fun onCreate() { | ||
super.onCreate() | ||
Adapty.activate( | ||
applicationContext, | ||
AdaptyConfig.Builder("PUBLIC_SDK_KEY") | ||
.withObserverMode(false) //default false | ||
.withCustomerUserId(customerUserId) //default null | ||
.withIpAddressCollectionDisabled(false) //default false | ||
// highlight-next-line | ||
.withServerCluster(AdaptyConfig.ServerCluster.EU) | ||
.build() | ||
) | ||
} | ||
``` | ||
|
||
</TabItem> | ||
<TabItem value="Java" label="Java" default> | ||
|
||
```java | ||
@Override | ||
public void onCreate() { | ||
super.onCreate(); | ||
Adapty.activate( | ||
applicationContext, | ||
new AdaptyConfig.Builder("PUBLIC_SDK_KEY") | ||
.withObserverMode(false) //default false | ||
.withCustomerUserId(customerUserId) //default null | ||
.withIpAddressCollectionDisabled(false) //default false | ||
// highlight-next-line | ||
.withServerCluster(AdaptyConfig.ServerCluster.EU) | ||
.build() | ||
); | ||
} | ||
``` | ||
|
||
</TabItem> | ||
</Tabs> | ||
|
||
Added option: | ||
|
||
| Parameter | Description | | ||
| --------------------- | ------------------------------------------------------------ | | ||
| **withServerCluster** | Set to `AdaptyConfig.ServerCluster.EU` to connect your app to Adapty’s European servers. | | ||
|
||
</TabItem> | ||
|
||
</Tabs> | ||
|
||
## Step 2. Register with EU cluster | ||
|
||
To register your company in the EU cluster, use [this link](https://app.adapty.io/eu-registration). Once registered, you can [add employees](members-settings#how-to-add-a-member) in the Adapty Dashboard as usual. | ||
|
||
## Step 3: Log in with EU-specific link | ||
|
||
Direct your team to log in via `https://app.adapty.io/eu-login`. For general dashboard access, continue using `app.adapty.io`. | ||
|
||
This should help ensure you’re compliant with EU data regulations while using Adapty! |
93 changes: 0 additions & 93 deletions
93
versioned_docs/version-3.0/register-your-mobile-application-in-adapty.md
This file was deleted.
Oops, something went wrong.