Hi All In my App I am sending through Firebase. Its working. I have to find the country code through unity or through php. How can i find the country code. Edit: In my app i dont have tapi .
Are you trying to fetch this automatically? You'd need access to the device's location services (which would require a permissions request first) to pull that data. Otherwise, if you want it selected manually, you can make a list of countries with their associated country codes, and when they select the country from the list, get the matching code and use that.
We've used this package for this: https://assetstore.unity.com/packages/tools/integration/precise-locale-65836 It's five bucks and seems to work on all the targets we've tried it on.
This will solve your issue: Check that https://assetstore.unity.com/packages/2d/country-code-picker-plugin-196018