Updated 12:55 p.m. ET

President Trump has given tentative approval to a deal that will keep TikTok alive in the U.S., resolving a months-long confrontation between a hit app popularized by lip-syncing teens and White House officials who viewed the service as a national security risk.

TikTok downloads were set to be banned in the U.S. starting on midnight Sunday, but that has now been averted.