Prepare the ribs: Cut the ribs into portions that fit in the air fryer, at least in half if they are very long. Remove the membrane from the back by pulling it off with a little force; it comes off easily.
Mix the seasonings: In a bowl, combine the smoked paprika, garlic powder, black pepper, salt, granulated onion, and chili flakes.
Season the ribs: Coat both sides of the ribs well with the spice and salt mixture, making sure they are thoroughly coated.
Preheat the air fryer: Preheat the air fryer to 190°C (375°F).
Cook the ribs: Place the ribs in the air fryer bone-side up and cook for 20 minutes. After 20 minutes, turn the ribs over and brush them with barbecue sauce. Cook for another 5 to 10 minutes, increasing the oven temperature to 400°F for a more golden and caramelized finish.
Presentation: Remove the ribs, cut them into individual pieces, and serve with a sprinkle of parsley and more barbecue sauce, if desired.