On-demand service apps take several measures to ensure the safety of both users and service providers. They conduct background checks on service providers, verify their identities and qualifications, and provide features such as real-time tracking, in-app messaging, and ratings and reviews. Users can also report any safety concerns or issues to the app's customer support team.