I was talking about Apple providing api to get information about screen time of other apps, so that these kinds of monitoring apps don't need such hacks.
This is also why Facebook bought Onava. Even without access via a VPN, that would have been enough information for Facebook to know that people were spending a lot of time on WhatsApp and to know that it was becoming popular. Would you be okay with that?