Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Was it a new or used phone? Do you think the person who gifted it is trying to track you?
 
Congratulations on your new XR - you needn't worry about any spyware/malware on it.
 
You are good to go... you can continue communicating with your side piece without worrying about being spied on ;)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.