Skip to content

Returns Incorrect Results for Valid US ZIP Codes #387

@VenkyInspire

Description

@VenkyInspire

Context
We're using the react-native-radar SDK to validate US ZIP codes by geocoding them with the following method:

const result = await Radar.geocode({ address: ${zipCode} });

Expected Behavior

For valid US ZIP codes (e.g., 04945, 10001), the geocoder should return the correct city, state, and country within the United States.

Actual Behavior

In some cases, even with valid US ZIP codes, the SDK returns locations from other countries. For example:

04945 (a valid ZIP in Maine) sometimes resolves to a location in South Korea.

Impact

This results in false negatives during ZIP code validation and breaks expected behavior for US-based users.

Question

Is there a recommended way to restrict or bias Radar.geocode to only return US-based results?

Could this be an issue with Radar’s underlying geocoding logic?

Any guidance or recommended workaround would be appreciated!

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions