Cut the chicken into bite-sized pieces if needed. In a bowl, mix soy sauce, lime juice, garlic, and ginger, then coat the chicken well with this mixture. Let it marinate for 15-30 minutes to soak up all the flavors—longer is even better!
Cut fresh pineapple into small chunks or drain canned pineapple well. In a separate bowl, whisk together soy sauce, honey, vinegar, and chili flakes. Add a cornstarch mixture to this and set it aside for cooking.
Heat oil in a large skillet or wok over medium-high heat. Add the marinated chicken (without the excess marinade) and cook for about 5-6 minutes, turning regularly, until golden brown. Remove the chicken and set it aside.
In the same pan, cook the pineapple chunks for 2-3 minutes until they caramelize slightly. Pour in the prepared sauce and bring it to a simmer, stirring until it thickens. Toss the cooked chicken back into the pan and stir everything together. Let it cook for another 5 minutes to blend all the flavors. Enjoy your delicious pineapple chicken!