Tech company was enjoying a stellar year before US president announced plans to ban the messaging app, along with TikTok.