vauvenal5 / yaga

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

Root Mapping is not preserved #38

Closed vanitasvitae closed 3 years ago

vanitasvitae commented 3 years ago

Hey, thanks for this app :)

I have the issue that the root mapping appears to reset across restarts of the app.

To reproduce:

While these settings work immediatelly after I set them (synced files have a green checkmark, remote files have a cloud symbol), as soon as I restart the app, it appears to forget the root mapping.

Happy Hacking!

vauvenal5 commented 3 years ago

Hi,

thanks for the report! So if I understand it correctly you are mapping a sub path on your cloud to a path on your device, right? cloud: / <-- root cloud: /Images/MyFolder <-- actually mapped path, which is a subpath of root

vanitasvitae commented 3 years ago

yeah that's correct :)

vauvenal5 commented 3 years ago

should be fixed in v0.15.11

Thovi98 commented 3 years ago

I have same issue, but I map the root of my Nextcloud to a path on my device (the one set by the Nextcloud App by default). I'm using latest 0.18.2 version of Yaga. Don't know how I can help investigate ?

vauvenal5 commented 3 years ago

Hi @Thovi98

your mapping is pointing from your Nextcloud root to your app data folder, if I understood correctly? How exactly is the mapping lost? What are the effects you are experiencing?

Thovi98 commented 3 years ago

Yes it's that. Sometimes (randomly), when I go to the app, I don't see my downloaded pictures. When I go to the mapping settings, I see that the original local path file://device.local/Android/data/com.github.vauvenal5.yaga/files/user@mynextcloud is used, instead of the modified one.

I just discoverd one thing I think you could reproduce :

Thanks for your help

vauvenal5 commented 3 years ago

Thanks, I was able to reproduce this. Fix will be up shortly.

vauvenal5 commented 3 years ago

fixed in v0.19.1

vauvenal5 commented 3 years ago

@Thovi98 can you confirm the issue is fixed for you, or simply close the ticket once it is confirmed :)

Thovi98 commented 3 years ago

Yes, sorry for the late reply, I just tested it and it works great ! Your app goes greater and greater 🎉 I cannot close this issue because I’ve not opened it, but it’s resolved, thanks !