Tower collector apk not working,

The app is just stuck on waiting for location, location permission has been granted,
so why is it not working?
I am using custom rom,(lineageos)
is that why it is not working,
please tell me how to make it work.