Skip to main content
Question

Seems like the RC domains have been blocked in China Mainland.

  • December 13, 2024
  • 7 replies
  • 498 views

Forum|alt.badge.img+1

I’m using the iOS SDK, all products can not be loaded in China Mainland unless using a VPN.

Any solutions for that? It’s a fatal situcation.

This post has been closed for comments

7 replies

Forum|alt.badge.img+3

Me too, I currently have a large number of members looking for me, their app is now unusable, my members are integrated with RevenueCat!!!!!!!!! How can I solve this??? RevenueCat


Cesar
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • 65 replies
  • December 13, 2024

Hello, 

Cesar from RevenueCat here.

We are aware of the situation and the team is looking for solutions to mitigate it.

 


Cesar
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • 65 replies
  • December 13, 2024

We recommend setting the `proxyURL` property to `https://api.rc-backup.com/` before initializing the RevenueCat SDK. Make sure this happens before configuring the SDK:

We are working on finding a more permanent solution.

https://www.revenuecat.com/docs/getting-started/configuring-sdk#configuration-for-users-in-mainland-china

Purchases.proxyURL = URL(string: "https://api.rc-backup.com/")!

Forum|alt.badge.img+6
  • Helper
  • 9 replies
  • December 13, 2024

@Cesar - is it safe to just set this for all users, or we need to only do this for users in mainland China?


Forum|alt.badge.img+1

@Cesar Does the proxy url work for api v1 and v2?


Cesar
RevenueCat Staff
Forum|alt.badge.img+3
  • RevenueCat Staff
  • 65 replies
  • December 16, 2024

It is safe to set this for all users, and it does work for both API versions


Forum|alt.badge.img+3
Cesar wrote:

It is safe to set this for all users, and it does work for both API versions

The SDK works fine, and the APIs were also working, but since yesterday the APIs have suddenly stopped working for me. Specifically I get this 400 bad request error: 
```

{

"doc_url": "https://errors.rev.cat/parameter-error",

"message": "None",

"object": "error",

"retryable": false,

"type": "parameter_error"

}
```

An identical Api call sent to revenuecat.com instead of rc-backup.com works, but only outside of China.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings