Accessing system calendar appointments without using system rendered UI

110 Views Asked by At

I have been working on including system calendar appointments in my UWP app.

If I use appointments uap capability - <uap:Capability Name="appointments"/>, I am able to add events to my system calendar through AddAppointmentsAsync after selecting accept in this popup.

Add appointment confirmation popup

But I would like to perform this addition without rendering this confirmation popup (which has some issues as well).

I was able to achieve this by using a restricted capability - <rescap:Capability Name="appointmentsSystem"/> (System Level Appointment Access). But it has been specified in documentation that the submission of app with this capability to Microsoft store won't be approved, though my requirement is to get it published.

We don't recommend that you declare this capability in applications that you submit to the Microsoft Store. In most cases, the use of this capability won't be approved.

Is there any way I can achieve adding appointments to system calendar without using this confirmation popup?

0

There are 0 best solutions below