Location is not enabled yet, and when the popup opens I click No Thanks which should go in the catch statement as per the documentation. But, it is still going in then statement and printing enabled in the console.
I have attached a screenshot of the code and console is also visible.
