While fresh pineapple and mango provide the best flavor and texture, you can use canned versions as a substitute if fresh fruits are not available. Drain the canned fruits well before dicing and adding them to the salsa. Keep in mind that the texture and sweetness of canned fruits may be slightly different from fresh ones.