In my experience, a dedicated hiking GPS is far more reliable than anything built into a cell phone.
I have used some form of GPS for quite a while. My Garmin Vista HCx has seen pretty much constant use since about 2007, still going strong. Despite some minor flaws it has done the work very well for the most part. Its battery life on a couple of AA cells is about 24 hours of continuous use. Or about 24 times longer a modern smartphone will last with the GPS turned on.
Then comes the issue of mechanical reliability. I've dropped a dedicated GPS receiver more times than I'm ready to admit. No damage beyond a few scruffs and scratches. On the other hand, very few cell phones will tolerate any kind of abuse. Heck, pretty much every cell phone I've owned in the last decade has fallen apart within two years of nothing more than basic urban EDC.
The way I see it, a standalone GPS receiver intended for hiking use is a serious outdoor tool. A cell phone, not so much. I'm sure you can get plenty of apps and gizmos for a modern GPS smartphone but I don't really see any practical value in that department. As long as my GPS receiver gives me an accurate location fix that's pretty much all I'll ever need.
As always, YMMV.