-
Notifications
You must be signed in to change notification settings - Fork 90
photo/video/image file input naming not unique on iOS #374
Comments
Puffin names files tmp.dat (which can be renamed with a proper extension, if you know it, to see the file). I doubt it will be possible to guess the file format in Puffin, in which case there is no way to correct the file extension (jpg/png/mov/mp3/etc). In that case, we should try to warn users away from Puffin (as in Chrome...). |
Check what a proper browser such as Chrome on Android does with real-time camera input fields. |
just append random number to filename to avoid irritation with filename changing? |
Android Chrome doesn't have this issue. It uses a random filename. |
issue: can't change the name property in the file input itself. This makes a fix rather complex. |
also take into account on iOS Safari, that the user may replace an existing file (image.png) with a new file (image.png).... |
Seems like it is not reliable to add new property to file in file input. It randomly disappears. |
…files to overwrite each other kobotoolbox/enketo-express#374
iPad Chrome does not want to submit http://enk.to/::YYYZ but might be network problem Update: seemed related to internet connection |
Puffin works too, except for getting the .dat extension (browser bug) |
This means that multiple photos (multiple photo inputs) in same record get overwritten by the last photo.
Reproducable with Safari on iOS which names all photos image.jpg and videos capturedvideo.MOV
Need to simply give a random file name it seems. Unfortunately, it will probably not be possible to make a distinction between an OS-named file and a user-name file. So all filenames will be overwritten by random string.
Urgent.
The text was updated successfully, but these errors were encountered: