Is possible to get Image GPS location coordinates from the Image?

Posted by Andre Scott | Updated on

I discovered that my previous problem was related to the Camera permissions of the devices. Usually a camera from android access the user location and save the GPS coordinates as Exif tag, but the ios devices usually don’t save this by default unless the user allows location permissions to the camera app.

I changed my app to check if the image has GPS coordinates and the user decides if he wants to share his actual location or the image location.

I’m also having to do some math to process the coordinates:

In order to you use the code you have to add the package exif and geoflutterfire to your app.


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers