Cap-go / capacitor-nativegeocoder

Capacitor plugin for native forward and reverse geocoding
MIT License
24 stars 4 forks source link

Error on Native with certain addresses #30

Closed jongbonga closed 3 weeks ago

jongbonga commented 1 year ago

When searching for certain addresses, the forward geocoding works on web but fail on native.

In this example, "Cape Town International Airport (CPT), Matroosfontein, Cape Town, South Africa" worked on Web but fail on native.

Screenshot 2023-07-11 at 18 13 25
riderx commented 1 year ago

This plugin is pure implementation of native feature while in web is google service, that may be the difference

jongbonga commented 1 year ago

This plugin is pure implementation of native feature while in web is google service, that may be the difference

This is not web, it's me debugging the native app with Safari. That would mean the native feature breaks on that specific address, or there is a parsing issue somewhere

riderx commented 1 year ago

You said on your original message it work on web but not in native. And i was saying in web the lib use google api not in native that why you can find diff i suppose. Maybe. i can improve the catch to give more info on the issue

jongbonga commented 1 year ago

@riderx Ah sorry, I get it know, apologize for the misunderstanding.