Open
Description
Platforms
Android bug, but didnt check on IOS.
Versions
- Android: 10
- iOS: -
- react-native-geolocation: ^3.4.0
- react-native: 0.77.0
- react: 18.3.1
- newArch - enabled
Description
Can't get the current position,
useEffect(() => {
const getPosition = async () => {
const granted = await getPermissions();
if (granted) {
Geolocation.getCurrentPosition(
position => {
console.log(position);
},
error => {
console.log('error', error);
},
{
enableHighAccuracy: false,
timeout: 3000,
maximumAge: 3000,
},
);
}
};
getPosition();
});
All the time have error, with newArch enabled.