Accept calendar popup

Hello all,

I have java developed application and when I start the application after the splash screen, it asks me calendar permission in popup but I am not able to tap on the allow button with the use of Appium. Please share if anyone have an idea.

I have only a resource id to use.

Resource id:-