Boiled chicken is generally better for dogs because it's lean, easy to digest, and free from added oils, seasonings, and carcinogens that grilling may introduce.
Yes, pineapple is safe for dogs in small amounts and can offer nutritional benefits, but it should be given in moderation and without the skin or core.