Expo native module used to check for precise location permission.
Currently implemented only for iOS.
(async) use:
const module = await import(expo-precise-location-permission');
if (module.has()) {
return true;
}
- copy the module to your project sources
- run
cd path/to/module && npm i && npm run prepare
- add
"expo-precise-location-permission": "path/to/module"
to yourpackage.json
- run
npm install
Run npx pod-install
after installing the npm package.