capacitor-location-accuracy-req
v0.0.3
Published
A Capacitor plugin designed to manage and prompt users for location accuracy settings on Android devices. This plugin helps ensure that your app requests and receives accurate location data, improving the user experience by guiding them to enable the nece
Downloads
5
Maintainers
Readme
capacitor-location-accuracy-req
A Capacitor plugin designed to manage and prompt users for location accuracy settings on Android and iOS devices. This plugin helps ensure that your app requests and receives accurate location data, improving the user experience by guiding them to enable the necessary settings.
Install
npm install capacitor-location-accuracy-req
npx cap sync
Permissions
To use this plugin, make sure to add the following permissions to your Android AndroidManifest.xml file:
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
API
checkLocationAccuracy()
checkLocationAccuracy() => Promise<{ status: string; }>
Returns: Promise<{ status: string; }>