public static boolean canScheduleExactAlarms(Context context) {
        // Supported since Android 12
        if (SDK_INT < S) return true;
        AlarmManager alarmManager = (AlarmManager) context.getSystemService(Context.ALARM_SERVICE);
        return alarmManager.canScheduleExactAlarms();
    }
Check if the setting to schedule exact alarms is enabled.
src/android/Manager.java