Orgzly auto syncronisation is not yet implemented for remote repositories such as local repos synced with, e.g., syncthing. See orgzly/orgzly-android#8.
While other scripts proposed in the linked issue fix the problem, I've compressed those into a simple script.
The script is meant for use in termux. Install the Termux-boot plugin. Then put the script into ~/.termux/boot
. Now it should automatically run all the time after Android startup.
I use the script for the /sdcard/org directory. This is the directory of my local repository. Insert the path you use there.
lol, it works like a charm! thank you!
✨✨✨