In Swift I would use locale, something similar to this answer. Android seems also to have it.
Is there a wrapper for this functionality for React Native?
In Swift I would use locale, something similar to this answer. Android seems also to have it.
Is there a wrapper for this functionality for React Native?
There are lots of little bits of data that you often need relating to countries, and I couldn't find any easy to use source of it. So I compiled it all here.
Installing
npm install country-data
You can refer to the link above - it will help you to get all country with all the information to do mappings for country codes.
well, in React Native there are a lot of third parties available for this, one that I have used is react-native-country-picker-modal
. To install just run yarn add react-native-country-picker-modal
or npm install react-native-country-picker-modal
you can visit this link