We have some in-app products and subscriptions. The price varies from one country to another. The problem is that we dont know how to detect the country within the app. We are guessing based on a few things but what happens is that we guess the country and show him x price and when the user proceeds to google payment, google detects another country (based on playstore account?) and shows him y price. This is a violation of google policy and they want us to fix it. But how do we fix it? Is there an api which we can call to know the country which matches with google's understanding of the country.
(It has been repeated but about 8 years ago.. so i am not sure if something has changed since)