I'm using a mobile cross-platform framework to run this package. It works perfectly on iOS devices, but fails to retrieve timezone data on Android devices. It seems to be a compatibility issue with the Intl API.
On iOS, the package functions normally and returns all timezone data as expected. However, on Android, the getTimeZones function returns an empty result or fails to execute properly.
This is a known issue where Android WebView environments lack full support for the Intl API, which @vvo/tzdb likely depends on for timezone data processing.
A possible solution would be to implement a fallback mechanism that provides static timezone data for environments where Intl API is not available, ensuring cross-platform compatibility.
I'm using a mobile cross-platform framework to run this package. It works perfectly on iOS devices, but fails to retrieve timezone data on Android devices. It seems to be a compatibility issue with the Intl API.
On iOS, the package functions normally and returns all timezone data as expected. However, on Android, the getTimeZones function returns an empty result or fails to execute properly.
This is a known issue where Android WebView environments lack full support for the Intl API, which @vvo/tzdb likely depends on for timezone data processing.
A possible solution would be to implement a fallback mechanism that provides static timezone data for environments where Intl API is not available, ensuring cross-platform compatibility.