Thanks for the good hints. I had overlooked the long parameter list overloads.
This property is public, but setting/resetting it from a plugin has no immediate effect on the KP UI. How should a plugin notify the UI that an intrinsic modification has been made to an instance of PwDatabase (such as CustomData, et.al.) so that the user knows they are pending persistence?
.NET SDK projects are not currently supported by keepass.exe .plgx formatting. If you are committed to that development environment, you could check out plgx-build-tasks.
I confirm that the snapshot fixes the issue. Thank you for the quick turnaround.
Sorry, the milestone should obviously be KeePass_2.x, and "auto sync" should read "auto lock".
Sorry, the milestone should obviously be KeePass_2.x.
NullReferenceException using Save command
Re-reading my post I maybe should clarify steps 4 & 5. After the sync, save the database (I don't think it does this for you), then upload the database file to Drive, not the file you downloaded. Also, the phone app might not be cooperative. I have some experience with Keepass2Android. It has a "file handling" setting that checks for "external modifications" before saving its copy of the database. The default setting is "enabled", but that may not be the case elsewhere. If the phone app is sorted...