Apple and Google have removed TikTok, which allows users to create and share videos, from their app stores in India.

The move follows a ruling by the Madras High Court, which ordered its removal from app stores over concerns that it was being used to spread pornography, BBC reported.

India’s top court on Tuesday refused an appeal by its owner, Chinese company ByteDance, to suspend the order.

TikTok has more than 120 million users in India but has faced criticism from some for hosting inappropriate content.

Hugely popular with teenagers, it allows people to post short videos of themselves lip-syncing and dancing to their favourite songs, performing short comedy skits or completing challenges.

TikTok is already banned in Bangladesh and has been fined in the US for illegally collecting information on children.

The Madras High Court order asked the federal government to ban TikTok on the grounds that it encouraged pornography and made young users vulnerable to sexual predators. It is due to hear the case again on 22 April.

In its court filing, ByteDance argued that a “very minuscule” proportion of TikTok content was considered inappropriate or obscene.

The company says it has more than 500 million monthly active users around the world.

Based on the preliminary ruling by the Madras High Court, India’s information technology ministry sent an order to Google and Apple asking them to remove the app from their online stores, local media reports said.

Google has declined to comment on the order. Apple and TikTok have not immediately responded to requests for comment.