Type 'GeolocationOriginal' is not assignable to type 'Provider'

whenever i try to add geolocation under providers it give me this error “Type ‘GeolocationOriginal’ is not assignable to type ‘Provider’” i have imported the right geolocatin plugin.
can any1 help ?

update i solved it
*i need to add /ngx in import i think its related to ionic 4 *

1 Like

update i solved it
*i need to add /ngx in import i think its related to ionic 4 ?? can you give me more details please!! i have same problem! thanks!

1 Like

sorry for later reply but if ur on the latest ionic version that is ionic 4 u need to add /ngx at the end of ur imports as a requirement.

5 Likes

When ever we are trying to import the Ionic components in Ionic 4 need to add ‘/ngx’.

2 Likes