The app would have gone dark if China’s ByteDance had not divested by Wednesday.

The deal will pave the way to US ownership of the social media platform's American operations, according to the US treasury secretary.

Framework deal is breakthrough in long-running dispute over app’s ownership amid security concerns in Washington