Hello,
My game app will go to andriod and ios app store. The game also has some extra features that requires backend data, I am using google cloud functions and firestore for that purpose. I understand that users playing from China won’t be able to use those google based api. So I am planning to remove those extra features only from users playing from China ios store. Is there any way in solar2d to figure out what country the user is playing from to do something like that:
if user_app_store_country == "cn" then
-- remove google cloud api based features.
else
-- init all google cloud api based features.
end
Thank you