Open MangukiyaJanvi opened 2 months ago
when i pick image to recent images i'm able to get location data but whene i pick same image from media folder i'm not able to get image cordinates
here is my code
var exif = await Exif.fromPath(path); var coordinates = await exif.getLatLong(); print("printExifOf2 ==>>> $coordinates coordinates");
when i pick image through media i get log like
printExifOf2 ==>>> null coordinates
and when i pick image from recent i get this log like
printExifOf2 ==>>> ExifLatLong(lat: 53.56641439436097, long: 86.66015674999208) coordinates
Device being used is an Android Emulator or real android device. What am I doing wrong here?
Please follow up on this
when i pick image to recent images i'm able to get location data but whene i pick same image from media folder i'm not able to get image cordinates
here is my code
var exif = await Exif.fromPath(path); var coordinates = await exif.getLatLong(); print("printExifOf2 ==>>> $coordinates coordinates");
when i pick image through media i get log like
printExifOf2 ==>>> null coordinates
and when i pick image from recent i get this log like
printExifOf2 ==>>> ExifLatLong(lat: 53.56641439436097, long: 86.66015674999208) coordinates
Device being used is an Android Emulator or real android device. What am I doing wrong here?