
Mix apples, onion, ginger, vinegar, white sugar, brown sugar, cinnamon, white pepper, cardamom, and nutmeg in a saucepan. Bring to a boil, reduce heat, and cover. Simmer approximately 30 minutes, stirring frequently, until the apples are tender. Mix in some water if necessary to keep the ingredients moist. Remove the ginger and store chutney in the refrigerator until ready to serve.