US President Donald Trump announced during a press conference at the White House on Saturday that he was behind the draft plan of a deal between Oracle and TikTok owner ByteDance.

Earlier this week, Trump said he did not think the deal could go through.

TikTok must come into the hands of an American company by the US government, because the White House believes that the originally Chinese app endangers the national security of the US.

ByteDance has to close a deal with an American company on Sunday.

If that fails, Trump threatens to ban the app altogether.

The US company Oracle announced on Monday that a proposal for a deal with ByteDance had been sent to the US government.

Trump said on Wednesday that he had not yet read the proposal, but that he did not think the deal would meet the requirements.

However, Trump is now backing the deal, which should make it possible for TikTok to continue working in the US.

Trump: 'Questions about security answered'

According to the US president, Oracle has answered all concerns about US national security and the deal will create 25,000 additional jobs.

"Security will be 100 percent. The draft plan would be a fantastic deal for the US," Trump said.

As part of the deal, a new company is due to take over TikTok's duties in the US.

According to Trump, this company will be wholly owned by Oracle and the American supermarket chain Walmart.

The proposal has yet to be officially approved.

The Chinese government has also yet to agree, and although the company is not government-owned, the government may be able to exert pressure to cancel the sale.

Previous reports indicate that the government of China would prefer not to have a Chinese company sold under pressure.