China has attacked a bill going through Congress that could ultimately see TikTok banned in the US, accusing it of “unjustly” behaving like a “bandit”.
The bill passed by the House of Representatives would give TikTok’s parent company six months to divest from the firm or face a ban on the app.
It still faces an uphill battle in the Senate but President Joe Biden says he will sign it, if it passes Congress.
Beijing has vowed to take” necessary measures” to protect its interests.
TikTok is owned by Chinese company ByteDance, a Beijing-based firm registered in the Cayman Islands.
US lawmakers have expressed concern about the app, saying the data of Americans potentially in Chinese hands makes it a national security risk.
TikTok’s owners have rejected those accusations.
In a rare show of bipartisanship on Wednesday, the House voted overwhelmingly to pass the bill, with 352 representatives voting in favour of the proposed law and 65 against.
At a news conference in Beijing on Thursday, Chinese foreign ministry spokesman Wang Wenbin said the vote on the bill “runs contrary to the principles of fair competition and justice”.
Another Chinese official, commerce ministry spokesperson He Yadong, said that China would “take all necessary measures to safeguard its legitimate rights and interests”.