blongho / worldCountryData

Android library for country flag, currency, and other country information
https://blongho.github.io/worldCountryData/doc/
MIT License
98 stars 35 forks source link

Not able to retrieve Kosovo "XKX". #34

Closed arsen-al closed 2 years ago

arsen-al commented 2 years ago

Describe the bug Even though values are correct we are not able to retrieve Country or Flag with the code "XKX" or "XK" (Kosovo). I can see that the Country is in the .json and there is a vector of the flag, but for some reason when we try to fetch this it fallbacks to the earthglobe icon and the name "World". Other values/countries that were tested the same way work fine.

To Reproduce Steps to reproduce the behavior:

  1. Initialize World
  2. Call World.getCountryFrom("XKX") and World.getFlagOf("XKX")
  3. Check that we indeed get the flag of Kosovo and not the Earthglobe icon aswell as the country name and not "World".

Expected behavior Expected behaviour is that we manage to get the Country and its name/flag etc.

Smartphone (please complete the following information):

github-actions[bot] commented 2 years ago

Your first issue in worldCountryData. The team will take a look at it as soon as possible

github-actions[bot] commented 2 years ago

Staled issue