Operating a social network app is not a protected form of free speech.
There are two 1A considerations here: whether an "app" is speech, and the speech of TikTok's users. If courts decide that TikTok is a "public forum," then there would be precedence to prevent the privation of this public forum in the interests of free speech. [1] On the other consideration, one of the landmark cases regarding software, Bernstein v. Department of Justice, ruled that code is speech, and this directly lead to the end of export control on encryption. [2] This has been further affirmed by a ruling in favor of the video game industry against a law banning the sale of games to minors in CA. [3]
[1] https://www.law.cornell.edu/supremecourt/text/482/569
Once the precedent is set it will be damn near impossible to go back; just look at the Patriot Act.
I imagine China disallows end-to-end encrypted messaging apps as well, which is largely the basis of my concern.