Rinse the jasmine rice under cold water until the water runs clear.
Heat the vegetable oil in a large skillet over medium heat.
Add chopped onions to the skillet and sauté until translucent, about 4-5 minutes.
Stir in minced garlic and grated ginger, cooking for an additional minute.
Add the chicken thighs to the skillet and season with salt and pepper.
Cook the chicken for about 6-8 minutes, flipping halfway through, until golden brown.
Pour in the chicken broth and soy sauce, then add the rinsed rice.
Add the pineapple chunks and give everything a gentle stir.
Bring the mixture to a simmer, then cover and reduce heat to low.
Cook for about 20 minutes or until the rice is tender and most of the liquid is absorbed.
Remove from heat and let sit covered for 5 minutes before fluffing with a fork.
Taste and adjust seasoning with additional salt and pepper if necessary.
Serve warm, garnished with chopped green onions if desired.