The app was due to be banned in the US a year ago if its Chinese owner had not sold its business in America.