Bringing canned fruit

Hi, quick question.
I know that bringing fresh fruit and meat is strictly forbidden, but what about canned fruit? I’m thinking about taking a can or 2 of pineapple or mango. Is it allowed ? Is it even worth it (maybe canned mango is readily accessible for a few bucks) ?
thanks in advance for your answer!

Just buy some when you’re out there!