I save media files in json object. And I add multiple json to an array. That array is a field of parseObject. But when I save object, File url is hardcoded.
This is an example object.
"media": [{
"type": "image",
"width": 591,
"height": 1280,
"media": {
"__type": "File",
"name": "fadee2cc345b9e6e9f03490d2f5f018d_F8Oxm7yQVE.jpeg",
"url": "This is hardcoded url. And seems like file adapter has no effect on it"
},
"thumbnail": {
"__type": "File",
"name": "944f9eeb9974d290febcafa0a6dc6400_F8Oxm7yQVE.jpeg",
"url": "This is hardcoded url. And seems like file adapter has no effect on it"
}
}]
Parse files saved the first URL they have got. And When looked the schema ıt just says media field is array but nothing more. Parse schema doesnt show whats inside of array.
How can I solve this? I want to save files like its a filed of parse object. When file is field of the parse Object, Parse only saves file name and fill the url that returned from files adapter? How can I do this?