I noticed there are apps like Shazam or Tiktok that can find my location/country and offer local content even when I use VPN. my VPN doesn't have any IP/DNS leak.
When I remove the simcard or make it offline in the settings, clear app data and relaunch those apps, then they show content based on the country of my VPN server.
My question is how is it possible that they do this and ask no permission from me? I use latest Android 12, Samsung Galaxy S21 Ultra. this happens on other phones too, for example running Android 9.
Is there a way to prevent this kind of information disclosure without removing/offlining the simcard or rooting the phone?
getSimCountryIso
orgetNetworkCountryIso
. You need a framework mod like XPrivacyLua to have such level of control.