question from expo Location and accuracy

Hi friends i use SKD 35.00 And my android version is 6, my question its ¿Is normal that expo location provider dont see my real location?, that is to say, the location why expo return its wrong but i dont understan if something I do wrong or the error its in the location provider … in the case of error its in the expo location provider Any suggestions to solve this?

i use this to get current position:


    _getLocationAsync = async () => {
        let { status } = await Permissions.askAsync(Permissions.LOCATION);
        if (status !== 'granted') {
        this.setState({
            errorMessage: 'Para Acceder a la función de panico es necesario saber tu ubicación',
        });
        }else {
        let location = await Location.getCurrentPositionAsync({accuracy: Location.Accuracy.Highest });
        console.log(location)
        let latitud = await parseFloat( location.coords.latitude )
        let longitud = await parseFloat( location.coords.longitude )
        this.setState({ latitude : latitud, longitude : longitud});
        }
    };

expo provider see

but my location in google maps see

LOL I SOLVED the parse missing the complete number and i had save the variable as a string xd

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.