ADCountryPicker icon indicating copy to clipboard operation
ADCountryPicker copied to clipboard

sometimes return nil

Open KohFujimura opened this issue 6 years ago • 4 comments
trafficstars

the library works great but i must recommend you about functions below:

picker.getDialCode picker.getCountryName picker.getFlag

it always returns nil right after United State is selected. i think you should change:

if countries.count == 1 => if countries.count >= 1

Please update the library soon :)

KohFujimura avatar Jul 02 '19 04:07 KohFujimura

I can confirm this bug. When the code is US the following is the result:

image

iofluxdev1 avatar Feb 14 '20 08:02 iofluxdev1

is this issue resolved?

rmpatel5491 avatar May 15 '20 11:05 rmpatel5491

is this issue resolved?

Not AFAIK, I made a fork to fix this and do some other updates for our client's application.

iofluxdev1 avatar May 15 '20 11:05 iofluxdev1

Facing the same issue.

QaziAmmar avatar Nov 12 '21 14:11 QaziAmmar