Where’s the warrant? This is completely unconstitutional and another waste of money. Just another reason a vast majority of government needs to be dismantled. They don’t protect our rights, they abuse them.
On android (can’t say for iphones), you generally need to accept certain conditions to be able to utilize an app. The app’s usage of tracking data is likely included in the agreement and by using the app, you have agreed to that usage.