Quick answer
Does the iPhone XR have 5G?
Short answer
No. The XR is a 4G LTE phone. 5G on iPhone started with the iPhone 12 series in 2020. In Nigeria that matters less than it sounds, because MTN and Airtel 5G coverage is still limited to parts of the big cities, and 4G on the XR handles WhatsApp, streaming and browsing fine. If 5G is the reason you are upgrading, the cheapest used 5G iPhones are the 12 series.
Gadgets in this answer
Keep learning