I used to use MapMy apps for ride and hike - both became very spotty on actually picking up segments.
I switched to RideWithGPS free version for all my rides - and it works foolproof (except when the 'fool' forgets to hit the START button...)
I use it on my cell... the cell is 'live' and is carried, but not on handlebar.
Other thing I like about RideWithGPS is that it is, by far, the best GPS for measuring actual distance rode... IN comparison to 2 different Garmin units (130 & 540), the IGPsport, and worst is the Bryton 420.
How do I know?
I have a VDO on-bike computer which is set for a very accurate rollout of my bike wheels - to within +-2mm for one full 700c circumference of my rear wheel - measured 2129 mm
RideWithGPS on my cell is usually short about .18 to .2 (2/10s) mile over a 25 mile measured distance.
The 2 Garmin were usually .32 to .35 mi off
The IGPsport usually .34 to .37 off
The Bryton 420 usuall .46 to .54 off
all over the same course and a distance of 25 miles in rollout measure.
RideWIthGPS for the win on GPS ride distance accuracy (on my Pixel 7a) compared to the the bike GPS computers I tried...
also seems to have good accuracy on GAIN and HR data - but much harder to verify the accuracy - just that the numbers seem credible given what numbers from other sources... (like a dedicated HRM...)
Ride On
Yuri