The built-in gps is not as accurate as the standalone units. Just buy the cheapest iPad you can find and pair it with a Bluetooth GPS or WiFi GPS. I have a Vesper AIS that is WiFi enabled and I connect my iPads to it or to the Dual Bluetooth GPS.
I know that used to be true, but I'm not sure it still is. I've cross checked my Android devices to dedicated marine hardware many times. I'm not seeing any significant difference.
It may depend on where you boat. Years ago I read an indepth article on the accuracy of Apple's built in GPS receiver's position accuracy compared to high end land survey gear. Written by a surveyor.
The author's conclusion was overall the Apple GPS was very good, approaching the accuracy of dedicated survey gear. With two very important differences.
1 - The Apple GPS priortized speed to fix vs accuracy.
2 - To achieve the best speed to fix the Apple GPS would use cell tower triangulation when necessary.
What this could mean to the boater is that if your phone or tablet GPS is having difficulty getting fast high quality GPS signals it MAY drop to cell tower triangulation.
Why I say it MAY matter where you boat has to do with proximity to cell towers and obstructions of GPS signals.
The article is many years old so things have changed. At the time I read it there was a frequently noticeable difference between phone/tablet positioning and dedicated marine hardware positioning. I have not seen that difference in years.
The problem of course is your phone/tablet won't tell you when it's using cell towers vs GPS signals.
OpenCPN on Android has a GPS signal strength indicator. I would be good to know if this is truly GPS signal or just position data from either GPS or cell tower triangulation.
For those reasons I generally trust the phone/tablet running OpenCPN. But if I need truly accurate position data I used dedicated marine devices.