For discovering beacons is location must required ON or not?

Hi all,
i’m working with beacons, for discovering beacons is Location services must turn on or in off mood it will work fine?? currently in my scenario App is not work fine until you did’t turn on your Location, or i’m wrong anywhere?? looking for good response
Thanks