Home > front end >  Invalid displacement location error React Native Expo Bare
Invalid displacement location error React Native Expo Bare

Time:02-02

I am currently using Expo Location, and whenever I allow location permissions, I get this error. I am on Expo Bare, SDK 47, React 18.1, React Native 0.70.5. Can anyone help me out please? Thank you. Invalid Displacement Error

I have tried to use another location library, and the result is the same as soon as I enable location permissions.I also made a brand new Expo Bare project and tried this out, and I still get the same error.

CodePudding user response:

I'm also facing this error since Monday. I didn't change anything on the code. It crashes when I asked permissions to use the Location.

After several atempts to solve the issue, I figure out rnmapbox released a new version 6 days ago and they have touched the Location Classes.

I downgrade the rnmapbox to 10.0.0-beta.64 at seems to work now. Let me know if it also works for you,

https://github.com/rnmapbox/maps/tree/v10.0.0-beta.64

Good luck

  • Related