Hi,
I’m a bit confused with the new syntaxe of watchposition with .subscribe. I want to give it the option enableHighAccuracy: true but it throw an error on android.
this.geosubscription = Geolocation.watchPosition({enableHighAccuracy: true }).subscribe(position => { });
On android I get the following error: Error in Success callbackId: Geolocation189843865 : TypeMismatchError: The type of an object was incompatible with the expected type of the parameter associated to the object.
It works without any options. It’s seems that I need the other parameters of watchposition like this for example: watchPosition(onSuccess, onError, { enableHighAccuracy: true })
I shouldn’t need it according to the doc: http://ionicframework.com/docs/v2/native/geolocation/
What should I do ?
Thanks in advance