Using a spy app is only legal when both parties consent to it. But, there is an exemption for parents to use spy apps on children below 18. There is also an exception for employers. To prevent private work from getting out, they can install spyware on their employees’ devices. In the end, it is best to consult a legal head.