Skip to content

Commit

Permalink
BUG
Browse files Browse the repository at this point in the history
  • Loading branch information
jfoclpf committed Jun 20, 2023
1 parent a9bd43d commit 2e533f9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/www/js/photos.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,15 @@ function cameraSuccess (result, imgNmbr, type, callback) {
// photo was got from library and it has no GPS info
photoWithGPS[imgNmbr - 1] = 'unsynced'
}
storePhotosArrays('photoWithGPS')
}

// this function is called after app reboots while the user is taking a photo,
// normally it happens on devices with low memory RAM
export function onAppResumeAfterReboot (imageUri) {
// restore arrays with photo information
restorePhotosArrays()
console.log('photosUriOnFileSystem: ', photosUriOnFileSystem)
console.log('photosAsBase64: ', photosAsBase64)

for (let i = 0; i < photosAsBase64.length; i++) {
Expand Down

0 comments on commit 2e533f9

Please sign in to comment.