CountryCodePickerProject
CountryCodePickerProject copied to clipboard
unable to use it in Edit profile
I cannot assign the country received from backend to show in picker that current selected country is given.
What do you store on server? Country name, phone code or country alpha code?
On Mon, Jul 4, 2022 at 04:10 Mughal963 @.***> wrote:
I cannot assign the country received from backend to show in picker that current selected country is given.
— Reply to this email directly, view it on GitHub https://github.com/hbb20/CountryCodePickerProject/issues/546, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFQ32FLAAZN6RCBQRLU65LVSK2B5ANCNFSM52SU4GKQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Country name but i have done modifying it on my forked project. I was trying to contribute in your project but i was unable to push so i forked and updated there according to my needs.
Country name code is the best way to ensure right country is being set and selected. Country name can created issue if users are opening app in different language then you will have 2 different values (translations in different languages) for the same country.