Good night! How to handle Location permissions prompt in Android w/Appium?

Hello, when I try to test an app that contains google map, I am prompted to allow or decline permissions to know the location for the current app.

But the test fails.
Is there any step like I.dismissAlert or I.acceptToAllowPermission?

I hope you get the idea.

Thank you!