Tiktok on sunday asked a federal judge to block the trump administration from forcing apple and google to remove the video app from their us app stores ahead of a ban scheduled to come into effect at midnight.
The us commerce department had ordered tiktok to be removed last sunday. but it extended the deadline after president donald trump gave preliminary approval for an agreement that would involve bytedance, the chinese owner of the app, giving a minority ownership stake to oracle and walmart.
Bytedance was forced to come up with a proposal after the us raised concern that chinese ownership of tiktok could make it easier for china to spy on us citizens by forcing the company to hand over data on its users.
Bytedance and the us companies have until november 12 to finalise a deal under an executive order mr trump issued in august.
In a rare sunday court hearing, lawyers for tiktok argued that banning the app now was senseless given that the companies remained in negotiations with the us government to address its national security concerns.
How does it make sense to impose this app store ban tonight when there are negotiations under way that might make it unnecessary, said john hall, a covington and burling lawyer representing tiktok.
This is just a blunt way to whack the company now while doing nothing to achieve the stated objective of the purpose.
The administration responded that tiktok posed an immediate national security threat that needed to be addressed, even as bytedance continued negotiations.
It is a risk today and deserves to be addressed today even while other things are being played out, daniel schwei for the us department of justice told judge carl nichols in a hearing in front of a district court in washington dc.
The battle is just the latest salvo in an escalating tech war that washington has launched with china. the commerce department last week took aim at semiconductor manufacturing international corporation, telling companies which export to chinas biggest chipmaker of an unacceptable risk that technology would be diverted to military end use.
Mr trump in august threatened to ban tiktok over concerns that it potentially gave the chinese government access to the private data of millions of americans. but he later changed tack, saying he would allow the app to operate in america as long as bytedance sold it to a us company.
Although the president last week gave his preliminary blessing, he has also raised concerns about the structure of the deal. under the proposal, oracle and walmart would take a 20 per cent stake in a new us-based company that would operate tiktok across the world and would at some point be listed on one of the us stock exchanges.
The companies have also sowed confusion. oracle said bytedance would have no ownership in tiktok global, but the chinese company said it would hold an 80 per cent stake.
The committee on foreign investment in the us an inter-agency panel that can block deals on security grounds is evaluating the proposal. but the deal is also subject to scrutiny in china because of a new export control law introduced by beijing.
Bytedance earlier this week applied to the chinese government for a licence to export the technology that powers tiktok, including the critical algorithm that determines what videos appear when someone is using the app. the new law gives china the power to block technology transfers that could also end up scuppering the deal.
Follow demetri sevastopulo on twitter