You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance(); var all = phoneUtil.GetSupportedGlobalNetworkCallingCodes(); all will be an empty dictionary while it should return the full list of supported calling code metadata
The text was updated successfully, but these errors were encountered:
It returns a Dictionary<>.KeyCollection which is a list of sorts, though it probably should be a proper List. As for the data itself, I'll look into it, in the meantime if you call GetMetadataForRegion first that will load the data and GetMetadataForRegion will return properly.
I came across this issue as well, there seems to be a problem with the isNonGeoRegion flag in LoadMetadataFromFile.
I can't work out what this method is trying to do when it populates countryCodeToNonGeographicalMetadataMap, but it doesn't seem to match the behaviour of the c++ version.
PhoneNumberUtil phoneUtil = PhoneNumberUtil.GetInstance(); var all = phoneUtil.GetSupportedGlobalNetworkCallingCodes();
all will be an empty dictionary while it should return the full list of supported calling code metadata
The text was updated successfully, but these errors were encountered: