Expo Location in China

  1. SDK Version: 38.0.8
  2. Platforms(Android/iOS/web/all): Android

Expo Location doesn’t seem to work in China. Client tried with Android phones.

I’m wondering if it’s because Expo Location is using google services. If that’s the case, how can I get geolocation in China (without ejecting expo project ideally)?

Thanks for the help

Hey @aonanli, unfortunately due to China’s firewall against GCP this won’t be possible. You’ll have to self-host and handle any functionality that would previously be handled by GCP with a different service that is whitelisted by China.

Cheers,
Adam

Hi Adam,

Thanks for your response. Even if I used a different geolocation service, I still can’t connect it to my expo project without ejecting from managed project right? I couldn’t configure Expo Location using customized location providers.

I guess there’s no easy way to solve this issue for now. Thank you very much for the help!

Cheers,
Aonan