Get users country without permissions

#1

Hey,

I have a question if it possible to get users country or country calling code, without asking for permission for location or calls (for accessing SIM card).

I would need it for seting the default country calling code for phone number input.

If I use the sim plugin to check the country, it asks for permission for making calls.
But on “Viber” app for example they display the right country code without asking for any permissions.

Thank you for your anwsers.

#2

check user location and get code, like if user from x-country is code is x.
code define in your app, so app can take from it.

#3

yeah, but for user location i would need his permission to access his location. Is there any other way without asking for any permissions?