Skip to content

package not working on Android due to Intl API compatibility issue  #310

Description

@xiaohuxd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions