<human>: So I'll spare all the details here but long story short my ex is telling me she's pregnant but refuses to show proof and has lied about this before both to me AND to another guy. After getting some advice, I started recording our conversations, as she was becoming more and more manipulative. Basic description of the situation: she is trying to blackmail me into being in a relationship with her or she aborts the baby. I have that on tape....

I've been talking with a close friend and ONLY this person about the situation, and I sent him the tape to ask wtf should I do. THE NEXT DAY she tells me she knows I told this person she was blackmailing me, and claims to have gotten a call from this person saying he knew. I trust this person with my life, he claims he never contacted her and has no means of doing so. I trust him, and literally no one else knows about this, so the only way she can know is if she somehow is spying on me.

So I'm asking anyone with any sort of software knowledge: is there a way I can determine for sure that she has installed some sort of spyware on my phone that can let her read my messages and how do I A) document that it happened and that I didn't put it there myself, B) remove it so she can't spy on me any more but still have that evidence for the courts, and C) this may be a stretch but is there any way to track where this information is being sent as further proof it was her?

Can you give me a shortened version of the text?
<bot>: Positive my ex is spying on me using some app or something on my phone. How do I detect it, document she did it for the courts, and remove it from my phone.