President Donald Trump hinted that a deal has been reached to resolve issues over TikTok's China-based ownership, days before the next ban deadline for the social media platform.

"A deal was also reached on a 'certain' company that young people in our Country very much wanted to save. They will be very happy!" Trump wrote in a Truth Social post shortly after 8 a.m. ET on Sept. 15.

Trump also said he will be speaking to Chinese President Xi Jinping on Sept. 19, adding that their relationship "remains a very strong one."

At a trade meeting between U.S. and China officials in Madrid, U.S. Trade Representative Jamieson Greer said the framework deal is to switch the app to U.S.-based ownership, per Reuters.

"We believe we have an agreement. It's just subject to the leaders' approval," Greer said.