A react native android package for geo tagging the images with coordinates and address.
npm install react-native-geotag-image
import { geoTagImage } from 'react-native-geotag-image';
// ...
const result = await geoTagImage(
imagePath: string,
elementsList: string[],
tagUserCoordinates: boolean
)
Requires permission for accessing Fine or coarse location if tagUserCoordinages is set true.
Add following lines in AndroidManifest.xml
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
See the contributing guide to learn how to contribute to the repository and the development workflow.
MIT
Made with create-react-native-library