vauvenal5 / yaga

Nextcloud Yaga - A Nextcloud first gallery app for Android.
https://vauvenal5.github.io/yaga-docs/
GNU General Public License v3.0
137 stars 10 forks source link

App "loads" forever when Local Path is set to Nextcloud app data directory #86

Closed DragonQ closed 3 years ago

DragonQ commented 3 years ago

I've done the following on a clean install of Yaga:

At this point the app shows nothing in this directory and has the loading bar at the top forever. I can click "Select" but now nothing is shown in Home View and if I go to Browse View -> User, I get the same issue (no files shown and the loading bar at the top forever).

I have a hunch that this may be because my Nextcloud instance is located in a subdirectory on the server rather than a subdomain (e.g. domain.com/nextcloud rather than nextcloud.domain.com), which means the local path has a forward-slash in it (shown as %2F in the Yaga app).

vauvenal5 commented 3 years ago

Hi! Yes the sub-path configuration will probably be the issue. There was a recent change in the library and while migrating I probably broke something. However, I have issues reproducing it since I have a sub-domain based configuration. Do you have the ability to temporarily create a test account on your Nextcloud instance?

vauvenal5 commented 3 years ago

Btw which version do you use?

DragonQ commented 3 years ago

I'm using Nextcloud 20.0.7 with the latest Yaga app. I've sent you an email with details for a test user.

vauvenal5 commented 3 years ago

I was able to reproduce it and should be able to provide a fix this weekend!

vauvenal5 commented 3 years ago

This should be fixed in v0.22.2

Thx for the assistance!

DragonQ commented 3 years ago

Thanks a lot, eager to test it out. :)

vauvenal5 commented 3 years ago

Is this fixed for you?

DragonQ commented 3 years ago

I just updated to v0.22.2 via F-Droid and yes, it seems to have solved the problem. Thanks a lot!