With Android 9, this changes slightly:
Go to Settings > Apps & notifications > Special app access :
- Choose “Battery optimisation”, and “all apps”, search “OpenSync”, tape and choose “Don’t optimise”
And into “Apps & notifications”, look at new for “OpenSync”, set “App permissions” for Calendar, Contacts, and ‘Additional permissions’.
Well done!