ph_address_finder 5.0.1 copy "ph_address_finder: ^5.0.1" to clipboard
ph_address_finder: ^5.0.1 copied to clipboard

Offline Flutter package for Philippine PSA/PSGC and PCIC address lookups with bundled province, municipality, and barangay data.

5.0.1 #

  • Fixed bundled JSON asset loading so the published package resolves its offline data correctly from package assets.
  • Fixed PcicAddressService.getBarangays() to keep valid non-conflicting barangay rows available when PCIC municipality data is split across variants.
  • Fixed PcicAddressService.getAddress() to resolve addresses such as Region 3 / Tarlac / MONCADA / barangay 40 (LAPSING) instead of returning null fields.
  • Refreshed the README, example, and API docs for the current PCIC cascade behavior.

5.0.0 #

  • Breaking: AddressService now exposes raw PSA region: 3A records as regionSubCode: 'III-A' instead of grouping them under III.
  • Breaking: PSA callers should now query AddressService.getProvincesByRegion(regionSubCode: 'III-A') for Aurora and Nueva Ecija.
  • Updated getMunicipalitiesByProvince(), getBarangaysByMunicipality(), and getAddress() so affected PSA records consistently return regionSubCode: 'III-A'.
  • Updated getBarangaysByMunicipality() to return distinct barangayName entries for dropdown-friendly barangay lists.
  • Refreshed README guidance, example usage, tests, and package metadata for publishing.

4.0.0 #

  • Breaking: AddressService now uses the stored PSA regionSubCode values directly and no longer normalizes raw province region: 3A entries into regionSubCode: 3A.
  • Breaking: PSA lookups that previously used regionSubCode: '3A' should now use regionSubCode: 'III'.
  • Kept province-context fallback in AddressService so municipality and barangay results stay aligned with the province dataset for affected records such as Aurora.
  • Kept PcicAddressService 3A region-option support unchanged for PCIC RegionNo flows.
  • Updated regression tests, README guidance, publish metadata, and example code for the new PSA behavior.

3.1.0 #

  • Added PcicAddressService for PCIC-based cascading lookups using RegionNo, provinceCode, municipalityCode, and barangayCode.
  • Added PCIC region-option support so 3A can be surfaced and filtered while still using the original RegionNo.
  • Added complete PCIC address fetching and regression tests for province, municipality, barangay, and full-address flows.

3.0.0 #

  • Normalized regionSubCode handling across province, municipality, barangay, and full-address lookups.
  • Added effective region-subcode fallback logic so affected 3A records return consistent values even when source data is incomplete or inconsistent.
  • Updated cascade lookups to resolve province context more reliably before returning municipality and barangay results.
  • getAddress() now always includes regionSubCode, including null when no matching address is found.
  • Added regression tests covering the full 3A lookup flow and invalid-code behavior.

2.0.1 #

  • Added search for narrow area by large area through code and subcode.
  • Filled some null region subcodes.
0
likes
150
points
327
downloads

Documentation

Documentation
API reference

Publisher

unverified uploader

Weekly Downloads

Offline Flutter package for Philippine PSA/PSGC and PCIC address lookups with bundled province, municipality, and barangay data.

Repository (GitHub)
View/report issues

Topics

#philippines #address #psgc #pcic #offline

License

MIT (license)

Dependencies

flutter

More

Packages that depend on ph_address_finder