Dice quince and apples, mix with sugar and salt, leave to steep for about an hour.
Add the peeled, finely diced shallots and chilli pepper (without seeds) as well as the peeled and grated ginger. Pour in apple juice and vinegar, add spices.
Simmer everything while stirring until the mixture is thick (approx. 30 minutes). Remove the cinnamon stick and star anise, pour the hot chutney into prepared twist-off glasses.