The deal comes after years of battles that began when President Donald Trump tried unsuccessfully to ban the app over ...