How to accept "Allow app to access location" on Android?

Hi can you try these two variations:

V1:

alert = self.driver.switch_to_alert()
alert.accept()

V2:

self.driver.switch_to_alert()
el = self.driver.find_element('Allow Matchbook to access this device’s location?')
el.click()