Document h4ck
This commit is contained in:
parent
6cabe8c21a
commit
7fe8f9fa40
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ class FileUploader {
|
|||
String thumbnailObjectKey =
|
||||
await putFile(thumbnailUploadURL, io.File(encryptedThumbnailPath));
|
||||
|
||||
// h4ck to fetch location data if missing (thank you Android Q+) lazily only during uploads
|
||||
if (file.location.latitude == 0 && file.location.longitude == 0) {
|
||||
final latLong = await (await file.getAsset()).latlngAsync();
|
||||
file.location = Location(latLong.latitude, latLong.longitude);
|
||||
|
|
Loading…
Add table
Reference in a new issue