Closed murrayk closed 10 years ago
Its having an issue trying to create the audio directory by the look of it.
"/69C32D91-3F30-410F-A0EC-160180786327/Documents/edina/assets//Audio (26-08-2014 12h36m52s)/audio_001.wav"
Same issue with images.
2014-08-26 16:07:58.837 FieldTrip GB[496:791b] FileTransferError { body = "Could not create target file"; code = 1; "http_status" = 200; source = "http://fieldtripgb.edina.ac.uk/1.3/pcapi/records/dropbox/ieMAqL70JWUyf1xr/Image%20(26-08-2014%2015h39m16s)/cdv_photo_002.jpg"; }
File path needs to be escaped to work with ios
I wonder why spatial memories didn't see this problem?
Maybe spatial memories didn't sync?
Spatial memories encodes the uri I've added
commit ea632ebe7373fd923996ae7bdbe7a8e04edf4c7a Author: Murray King murray.king@ed.ac.uk Date: Wed Aug 27 12:34:45 2014 +0100
Issue edina/fieldtrip-gb#63 File path needs to be escaped to work with ios
Works on ios but not tested if side effects for android
To replicate upload a audio file. Reinstall app then sync.
ERROR: Problem downloading asset: http://fieldtripgb.edina.ac.uk/1.3/pcapi/records/dropbox/Mlf5S6wnbQSx5zgH/Audio%20(26-08-2014%2012h36m52s)/audio_001.wav to: null
looks like cordova fails to create a nested directory within assets.