I’m working on a kotlin Android app where I need to monitor the websites that a user is visiting on their device. I’ve tried many different variations of code that all, in one way or another, try to route traffic through a VPN, but all of them eventually run into the same form of issue where once the code is running sites will no longer load. I asked a question regarding this issue with code not long ago on this post, but I ended up dropping that code as I could not fix the bug I spoke about on that post.
I wrote this post to ask if anyone is aware of a method to detect and log the websites a user is visiting on a kotlin Android app?
Any guidance, examples, or references would be greatly appreciated. Thanks in advance!