NativeGeocoderOriginal' is not assignable to type 'Provider'

#1

Here I am trying to implement NativeGeocoder in AppModule.ts but it is forcing me to add NativeGeocoderOriginal. What is the difference between them? and many tutorials use NativeGeocoder then why am I forced to use Orginal one?

I tried
Method 1:
http://masteringionic.com/blog/2017-06-13-geocodingreverse-geocoding-with-ionic-native/

Method 2:
https://www.freakyjolly.com/ionic-3-get-device-latitude-longitude-and-address-using-geolocation-and-native-geocoder-services-in-ionic-3-native-application/

None worked out :frowning:

Please Help

#2

Found it
Need to add ‘/ngx’ at the end of import

like this
import { NativeGeocoder } from ‘@ionic-native/native-geocoder/ngx’