https://appleinsider.com/articles/20/07/02/apple-google-comp...
Apple also removed a bunch of games on its Chinese app store because of new policies by the Chinese government.
https://www.theverge.com/2020/6/22/21298811/apple-chinese-ap...
What remains to be seen is if said law would be "legal" (as in: not in direct conflict with the constitution).
However, if this were to happen, it would almost certainly be under national security law, which has pretty far reaching powers for this sort of thing. Knowing how much the app spies on you, and knowing that they are ultimately under control by the Chinese government, there's a very strong case to be made.
> the constitution to begin with.
Would that be this foreign corporation that is incorporated in the checks notes State of California?
https://businesssearch.sos.ca.gov/Document/RetrievePDF?Id=03...
(Yes, I know this is a company owned by the Beijing based ByteDance but that’s not immediately disqualifying of this US corporation run under US law being able to defend itself in a US court system as any other US company would.)
Having set up a corporation on US soil does not grant free pass to a foreign government to spy on US citizens.