Adapty on China servers

To ensure that your application is not blocked in China and works efficiently, Adapty provides a China cluster option. This ensures fast and reliable service for your users in mainland China while helping you comply with local regulations.

The Great Firewall of China can significantly impact connectivity and performance for applications using servers hosted outside the country.

However, Adapty’s China-based infrastructure allows your application to deliver consistent, reliable performance to users in mainland China.

In China, applications require explicit user permission to access the internet. Until this permission is granted, no network requests will work. Ensure your application:

  • Requests internet access permission appropriately.
  • Handles cases where permission is denied or not yet granted.
  • Provides clear user guidance about why internet access is needed.

Step 1. Configure Adapty SDK for China region

Install Adapty SDK as described in the installation guide .

For the China region, when configuring the SDK during the installation, follow the instructions depending on your framework:

After configuring the China server cluster, you can use the Adapty Dashboard as usual at app.adapty.io. The dashboard experience is identical regardless of which server cluster you’re using.

Step 2. Detect when to use China servers

It’s important to dynamically choose between global and China-specific servers based on user location. Here are two approaches:

Option 1: Detect by region/country

Option 2: Detect by app store

For applications distributed through different app stores, you can determine which server to use based on the installation source: