Place all the ingredients except the blackberries in a large heavy based saucepan.
Cook gently, stirring until the sugar dissolves.
Bring to the boil then reduce the heat and simmer, uncovered for about 40 mins, stirring occasionally until the apples and onions are tender, the mixture has thickened and no watery juices remain.
Add the blackberries and cook for a further 10 mins until they have softened but still hold their shape.
Spoon the hot chutney into warmed dry jars, seal with screw topped lids and leave to cool.
Store unopened in a cool dark place up to 6 months.
Chill once opened.
Recipe by appetite magazine at https://www.appetitemag.co.uk/blackberry-and-apple-chutney/