Pour or scrape out the yogurt into a dish in which the chicken pieces can fit in a single layer; add the sambal oelek, kecap manis, tamarind paste, grated ginger and garlic, followed by the cinnamon, cardamom, ground turmeric, salt and vegetable oil, and gently whisk or stir to mix until you have a uniformly vibrant gloop.
Add the skinless, bone-in chicken thighs to the marinade, swiping them in the mixture so that they’re all coated by it, and leave to marinate while you prepare and cook the onions.
Heat the oil in a large pan or casserole, and cook the onions on high for the first 5 minutes, then continue to cook for another 20–30 minutes, stirring frequently.
Once the onions are ready, take the chicken pieces out of the marinade and arrange them bone-side down in the pan, pushing the onions over them.
Scrape out any marinade remaining in the dish over the chicken, turn the heat to high, clamp on the lid, and cook for 15 minutes at a fast simmer.
Take the lid off the pan and turn the chicken pieces over, mixing them in the sauce. Let simmer away robustly for a further 30 minutes, uncovered.
Put the chicken and its scant sauce back in the dish it marinaded in earlier to cool, then cover and refrigerate overnight or for a couple of days.
When ready to proceed with the biryani, scent the water for the rice by dropping the cardamom pods into a large pan with a tightly fitting lid, followed by the cinnamon stick, cloves, star anise, desiccated coconut and pink peppercorns.
Pour over 2 litres of water, add the salt, lime juice and sesame oil and bring to a boil with the lid on.
Once it comes to the boil, switch the heat off, and leave it on the warm hob, covered, to let the water infuse.
Meanwhile, rinse the rice and leave it in a bowl covered with cold water to soak for 30 minutes.
When the rice has had its 30 minutes’ soaking, drain it well, and gradually add the rice to the boiling scented water.
Put the lid on to let it come back to a boil faster, and once it has, boil for 2 minutes with the lid on.
Test the rice is cooked enough by rubbing a grain of rice between your fingers to see if it breaks into 2 or 3 bits, before draining well.
Wipe the pan out well, brush the bottom with a teaspoon of sesame oil, then spoon in half of the rice.
Scatter over half of the toasted cumin seeds, half of the desiccated coconut, and half of the cranberries, and arrange the re-heated chicken thighs in an even layer on top of the rice.
Cover with the rest of the rice, and scatter again with the remaining cumin, coconut and cranberries.
Make a tight seal on top of the pot with kitchen foil and then put the lid on. Place over medium heat for 4–5 minutes, then turn down for a further 15–16 minutes more on low.
Turn off the flame and carefully remove the foil, then replace it with a clean tea towel, and leave for a further 20 minutes off the heat.
Crisp the reserved chicken skin in an air fryer or pan until golden and crispy.
When the biryani’s completed its steaming, spoon it out onto a platter or a large dish, arranging the chicken and meat to their best advantage. Crumble over the chicken crackling and scatter with freshly chopped coriander.
