My app needs to access the user's coordinates, but I can't find a way to do this. I'm using Expo, but I'd like to avoid using any Expo libraries as I plan to eject it later and don't want to run into issues when I do so.
I've tried installing react-native-geolocation-service, but I get the following error:
'new NativeEventEmitter()' requires a non-null argument.
Is there any way I can get the device's coordinates without using an Expo library?