The Trump administration had ordered a ban on downloads of the messaging platform WeChat as well as hugely popular video-sharing app TikTok, both owned by Chinese companies. Both bans have now been suspended.
A California court ruling said it granted a “motion for a nationwide injunction against the implementation” of the government order on WeChat, with the judge citing concerns over free speech. The order would have slowed WeChat down and made it unusable in the United States for video chats with family and friends, according to experts.
Owned by technology giant TenCent, WeChat has around 19 million active daily users in the US.
As President Donald Trump seeks a breakthrough with voters to win a second term in the November 3 election, he has increasingly put national security and his aggressive stance towards China at the centre of his campaign.
He regularly accuses Democratic opponent Joe Biden of weakness towards Beijing.
The president said on Saturday that he had approved a deal allowing Silicon Valley giant Oracle to become data partner for TikTok to avert a shutdown of that app.
The deal, announced by the companies, includes Walmart as a commercial partner and would create a new US company named TikTok Global.