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

Indonesia (ID / IDN) not working #47

Open taar1 opened 5 months ago

taar1 commented 5 months ago

Describe the bug Indonesia (ID / IDN (https://www.iban.com/country-codes)) not working

To Reproduce Use ID or IDN as country code. It displays the globe icon instead of Indonesia flag.

Expected behavior Indonesia flag shows up.

blongho commented 3 months ago

@taar1 which version of the library did you use? I used v1.5.4-alpha-1 and I could get the information for Indonesia including the flag. See Screen shot below

Image showing code and output for Indonesia

And the country information was shown like this image

These are my settings Inside libs.versions.toml

[versions]
...
worldcountrydata = "v1.5.4-alpha-1"

[libraries]
...
worldcountrydata = { module = "com.github.blongho:worldCountryData", version.ref = "worldcountrydata" }

[plugins]
android-application = { id = "com.android.application", version.ref = "agp" }

Inside build.gradle (Module:app)

dependencies {
...
    implementation libs.worldcountrydata
}

Let me know if you still get the issue.

blongho commented 3 months ago

Check this tutorial

Video Demo of Country Data