Meta has settled a landmark court battle over teen social media addiction by agreeing to pay $23.6 billion and adding further child-safety measures to its Facebook and Instagram apps.

The agreement came ahead of Meta chief executive Mark Zuckerberg being expected to take the stand before a jury in federal court.

Meta is urging competitors like TikTok and YouTube to adopt similar measures.