The spying part requires a server.
If you use GrapheneOS, you can enable or disable internet access for each app.
Motorola needs to hurry up and release their GrapheneOS devices, I need a new phone soon(TM) (next year or two) and I refuse to give google money to buy hardware to avoid Google.
> If you use GrapheneOS, you can enable or disable internet access for each app.
Not sure what information you're expecting the app in question to surface if you disable internet access for it.
"If you use GrapheneOS, you can enable or disable internet access for each app."
This can also be done on Android with certain apps such as Netguard and PCAPDroid
(Using either a blacklist or whitelist approach)
Disabling internet access is not necessarily a hard requirement to stop this type of spying
Controlling what DNS data apps can access, if any, will usually suffice