My country (Iceland) has an official contact tracing app listed there. It was developed by volunteers and contributed to the government and the source is open on github. Nothing you said applies to it.
Searching for mandatory and required turned up Hong Kong (required the app for entering restaurants) and Qatar (mandated when leaving the house). I don't think this is what OP was refering to.