I have an existing app (React-native expo sdk44 - meteor 2.2) using ostrio:files, it works perfectly locally and on staging/production.
On a new app, same versions, in dev mode, images are not downloaded neither in the mobile app, nor in a browser using the URL (http://xxxx:3000/cdn/storage/Images/JmWqEtygo6tkKbzTt/original/JmWqEtygo6tkKbzTt.jpg) , a small part of the image is loaded (148k/2M) and then it stops after the HTTP timeout (5000 by default)
Issue is opened here.
I use interceptDownload to track inside FilesCollection, it seems that it is not a timeout issue. there is something that prevents sending all the data before the timeout is triggered, serve is returning 200 …
Installed with ostrio:files@1.12.1 in .meteor/packages
ostrio:cookies added, version 2.6.1
ostrio:files added, version 1.14.3
Forcing in .meteor/versions
ostrio:cookies@2.4.1
ostrio:files@1.12.1
Images are back !
Thank you @davideonmeteor , I was not using the latest version but I checked better the exact version used and discovered the difference between the 2 apps. I’ll check this later with meteor 2.5.2 and latest ostrio:files 2.0.1.
Ive tried to get the ostrio:files package working a few times and it was totally briked - even from running the examples it was briked. I tried to get support and they didn’t help at all. Is it still garbage?