Background
I have a daemon which tracks all activity on system. To work correctly it needs "Full Disk Access".
Problem
If user manually adds daemon to list in "Preferences/Protection and privacy/Privacy/Full Disk Access" everything works as it suppose to. Problem is that my application is a daemon so it doesn't have access to UI. So when it accesses restricted resources user can't be prompted to grant "Full Disk Access". As a result user may not be aware that software is not fully operational.
Basically this solution doesn't work (it is not enough for a daemon).
Question
To solve this issue I want to prompt user to grant "Full Disk Access" during installation process. I have no idea how to achieve that.
Is it possible to grant "Full Disk Access" during pkg installation process? If yes how to do it?