Cyclemeter should do that. Unfortunately the free trial version is so limited you can't really get a sense of how many features the app has. But it's a good value for around $10/year. I keep thinking about subscribing again -- I used it in 2018. I mostly use Wahoo Fitness now on both my Android and iPhone. It's free and works well but has few features. It records complete data but needs another app, software or website to show all the data.