Hello,
If you want to request SCHEDULE_EXACT_ALARM
permission, you need to ask users to grant the SCHEDULE_EXACT_ALARM permission.
1.In your app's UI, explain to the user why your app needs to schedule exact alarms.
2.Invoke an intent that includes the ACTION_REQUEST_SCHEDULE_EXACT_ALARM intent action.
You can invoke an intent like following code.
Android.Net.Uri uri = Android.Net.Uri.Parse("package:" + Android.App.Application.Context.ApplicationInfo.PackageName);
//https://developer.android.com/reference/android/provider/Settings#ACTION_REQUEST_SCHEDULE_EXACT_ALARM
Intent intent = new Intent(Android.Provider.Settings.ActionRequestScheduleExactAlarm, uri);
StartActivity(intent);
Best Regards,
Leon Lu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.