Mitch Downey
Mitch Downey
It seems like this might be a problem that apps can fix on their own with JS logic, either by coding it themselves or with a library like `follow-redirects`. I'll...
@kesha-antonov ok good to know. As a workaround, I ended up adding a server-side endpoint that uses the `follow-redirects` library, and I am passing the hostnames that are known to...
@ambessh hmm I have 1.9.3 installed, and I'm not sure what I'm doing wrong then... When I call this: `const result = await ScopedStorage.stat('file://data/user/0/com.podverse/files/_qhiTuJQT.mp3')` I get: > Error: 'file://data/user/0/com.podverse/files/_qhiTuJQT.mp3'does not...
@ammarahm-ed I tried your code, updated RNScopedStorageModule.java (verified the changes are used in the react native app), then call this: ``` await ScopedStorage.copyFile("/storage/emulated/0/Download/lwx0wMYSjP.mp3", "content://com.android.externalstorage.documents/tree/01F6-AC3F%3APodverse/document/01F6-AC3F%3APodverse/lwx0wMYSjP.mp3", (msg) => { console.log('ScopedStorage.copyFile msg', msg)...
@ammarahm-ed eureka! `copyFile` works for me is I use the uri: `content://com.android.externalstorage.documents/tree/01F6-AC3F%3APodverse/document/01F6-AC3F%3APodverse%2Flwx0wMYSjP.mp3` With the URL encoded `%2F` character instead of `/`. Not sure why it's necessary...but it's finally saving to...
@ammarahm-ed ahhh...but there's a bug with this... It seems like the %2F sometimes works, and sometimes throws a "ENOENT No such file or directory" error: Works: > content://com.android.externalstorage.documents/tree/01F6-AC3F%3APodcasts/document/01F6-AC3F%3APodcasts%2Fesgi0q1Pm.mp3 > content://com.android.externalstorage.documents/tree/01F6-AC3F%3APodcasts/document/01F6-AC3F%3APodcasts%2FuJbRmLuc0.mp3...
@ambessh I was getting very buggy and inconsistent results with this...but I think it may have been conflicts caused by identical files already existing in the temporary DocumentDirectoryPath from previous...
@hack13 @gerbrent sorry for the delay, I'm 3 weeks behind on my Github notifications 😬 I'm going to talk to Gary our graphic designer about this. I'm not sure if...
Ok...a couple years ago someone actually requested we put subtitle support in. If a subtitle is not available, our apps fallback to use description. Even though Apple and PI have...
@EricKerby thanks for creating this. Funny coincidence...I was just made aware of this in our Discord and have been investigating it for the past 10 minutes. It seems the error...