Comments (5)
Ok, first please uninstall/reinstall the plugin and try again:
ionic cordova plugin remove cordova-plugin-nativegeocoder
ionic cordova plugin add cordova-plugin-nativegeocoder
If you still got an error please give more infos about your setting: is it on iOS AND Android?, on which device are you testing? (notice that the plugin won't work on Android emulator)
from cordova-plugin-nativegeocoder.
Hey @binDebug,
which version of cordova-plugin-nativegeocoder are you using? I have tested with the latest version v3.1.1 and it works both on Android and iOS (for "Times Square 42 Street Station, New York, NY, USA" I get lat: 40.755... lon: -73.987...).
Please update the plugin to the latest version and try again. If you still have this error please give more info about the OS, OS version, device, plugin version.
Cheers
from cordova-plugin-nativegeocoder.
Thank you Sebastian, firstly for this library, and second for the response.
The version seems to be just the one you mention. Please find below a snip of my package.json
from cordova-plugin-nativegeocoder.
Ah! therein lies the catch, you mention emulator and that is where I am testing. Thanks for that. I shall test on another device and let you know.
Just curious, why wouldn't it work on an emulator? Also, why would it work with specific addresses while not working with others?
Cheers!
from cordova-plugin-nativegeocoder.
I'm not quite sure why it does not work. It's somehow related to Google Play Services not working on an emulator but that's required for Geocoder to work. According to the docs:
The Geocoder class requires a backend service that is not included in the core android framework. The Geocoder query methods will return an empty list if there no backend service in the platform.
Please test on a real device and give some feedback so I know if I can close this issue.
Cheers!
from cordova-plugin-nativegeocoder.
Related Issues (20)
- native-geocoder not found HOT 2
- reverseGeocode Error: grpc failed HOT 1
- Return Address Line or formatted address HOT 2
- hit limit HOT 1
- reverseGeocode JSON error HOT 1
- Java error when trying to forwardGeocode HOT 3
- Not allowed to start service Intent HOT 1
- Needs support for Swift 4 HOT 1
- Ionic 3 Native Geocoder return undefined HOT 2
- huge ios app size increase after install this plugin HOT 1
- reverseGeocode not working in real device HOT 2
- Sometimes only a partial postcode is returned (iOS) HOT 1
- example js
- Geocoding Pligin Not Fully Functional HOT 1
- Type 'NativeGeocoderOriginal' is not assignable to type 'Provider'.ts HOT 1
- Native geocoder result looks different for andriod and ios when do reverse geocode HOT 3
- reverseGeocode return "ebhg: UNAVAILABLE: Unable to resolve host geomobileservices-pa.googleapis.com" HOT 1
- Removed dependency plugin for Swift Support brokes the build
- IOS build failing with NSObject can be declared @objc error HOT 2
- Web app feature
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-nativegeocoder.