Since Google does not support WebDAV some may be struggling to find a way to make sync work using it.
I set it up on my computers to work through Google Drive and thought I’d pass along the method in case someone else was trying.
From PC to PC it’s easy. Setup the Joplin sync method to FILE SYSTEM and put the folder you are using to do the sync inside the local PCs Google Drive sync folder. Point all your Joplin instances to read the sync folder inside the Google Drive folder and it should work fine. I have it setup on 3 PCs this way. Google drive first has to sync the files to your PCs, then Joplin has to sync to the file system folder. It can take a while.
Syncing to an Android phone is a little more difficult. The Google Drive app for Android does not actually sync the files TO the phone, it simply makes it possible to get to the files on the Google drive over a network. This will not work for a file system sync on an Android device. There are a few nifty apps that can actually do a real file sync on an Android device. I use DriveSync. It can sync the entire drives contents or just certain folders. So if your GDrive’s contents exceed your devices storage you can just do the Joplin directory - but of course it’s sync folder has to actually FIT the Android devices drive space as well.
After setting up the utility to sync the GDrive and waiting for it to sync you setup your Android’s Joplin to do the File Syetem sync to the files the APP just synced to the phone. it can be a pain to get the right file path INTO the Joplin’s file sync dialog, I used a file manager that allowed me to cut and paste the path from viewing the folders properties.
OH, and at least for one of my phones - it would NOT work when syncing to GDrive to my SD card. Even when I gave Joplin the permission to use the SD card it would not cooperate and complained it could not read or write the sync files. I suspect the problem is with the OS. Internal storage worked fine in both my Android phones.
It works fine for me. I have 3 PCs and 2 Androids syncing that way and within minutes all running versions are synced.
I don’t know if IOS / iPhone has such an app to do a real file sync to GDrive or not. Maybe someone can chime in.