CountryCodePickerProject icon indicating copy to clipboard operation
CountryCodePickerProject copied to clipboard

unable to use it in Edit profile

Open awais963 opened this issue 2 years ago • 3 comments

I cannot assign the country received from backend to show in picker that current selected country is given.

awais963 avatar Jul 04 '22 10:07 awais963

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: @.***>

hbb20 avatar Jul 04 '22 15:07 hbb20

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.

awais963 avatar Jul 05 '22 03:07 awais963

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.

hbb20 avatar Jul 24 '22 23:07 hbb20